← Vulnerability feed

Vulnerability record · CVE-2021-31806 · published 27 May 2021

CVE-2021-31806: Squid proxy memory-management bug allows DoS via HTTP Range requests

Squid Cache · Squid

Squid before 4.15 and 5.x before 5.0.6 contains a memory-management bug in HTTP Range request processing. A remote client can trigger a denial of service that affects all clients using the proxy. The flaw is remotely reachable and requires only low privileges, making it a practical availability risk for shared proxy deployments.

6.5 CVSS 3.1 Medium EPSS 96% · top 0.1% CWE-116 · CWE-116
6.5CVSS 3.1 base score, v2 4.0
96%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
18References
17 Jun 2026Last modified by NVD

Description

An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to a memory-management bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy) via HTTP Range request processing.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

high priorityThe flaw is remotely triggerable, affects all proxy clients, and carries a very high EPSS score despite a medium CVSS rating and no KEV listing.

What it is

Squid before 4.15 and 5.x before 5.0.6 contains a memory-management bug in HTTP Range request processing. A remote client can trigger a denial of service that affects all clients using the proxy. The flaw is remotely reachable and requires only low privileges, making it a practical availability risk for shared proxy deployments.

Impact

An attacker can crash or exhaust the Squid proxy, denying web access to every client routed through it. There is no confidentiality or integrity impact; the effect is purely availability.

Attack surface

Reached over the network by sending crafted HTTP Range requests to the Squid proxy (CVSS AV:N). Authentication is not required at the network layer, though the vector indicates low privileges (PR:L), and no user interaction is needed.

Exploitation

Not listed in CISA KEV and no ransomware association is documented, but EPSS is very high (0.95785, 99.87th percentile), indicating elevated likelihood of exploitation activity. References include vendor patches and third-party advisories, with no public exploit tag supplied.

What to do

  • Upgrade Squid to 4.15 or later, or 5.0.6 or later, using the vendor patch or distribution packages.
  • Apply the Debian DSA-4924, Fedora, or NetApp advisories for the affected packaged versions.
  • Restrict proxy access to trusted networks or authenticated users where feasible to reduce exposure.
  • Monitor proxy availability and restart behavior for signs of repeated crashes pending patching.

Detection

  • Alert on Squid process crashes or restarts correlated with HTTP Range request traffic.
  • Inspect proxy logs for abnormal volumes of Range requests from single clients or source IPs.
  • Monitor memory and CPU spikes on Squid hosts that coincide with Range request bursts.
  • Track upstream advisories and package versions to confirm patched Squid builds are deployed.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://seclists.org/fulldisclosure/2023/Oct/14 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/10/11/3 Mailing ListThird Party Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch PatchVendor Advisory
https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf PatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2V
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBT
https://security.netapp.com/advisory/ntap-20210716-0007/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4924 Third Party Advisory
http://seclists.org/fulldisclosure/2023/Oct/14 Mailing ListThird Party Advisory
http://www.openwall.com/lists/oss-security/2023/10/11/3 Mailing ListThird Party Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch PatchVendor Advisory
https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf PatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2V
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBT
https://security.netapp.com/advisory/ntap-20210716-0007/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4924 Third Party Advisory

Track CVE-2021-31806 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2021-31806), CISA KEV, FIRST EPSS (scores of 2026-09-22). This page is refreshed as NVD updates the record.