CVE-2021-31806: An issue was discovered in Squid before 4.15 and 5.x before 5.0.6.

CVE-2021-31806 affects 178 listed versions of Squid in the Dawnsentry catalogue.

6.5CVSS medium
None knownexploitation
95%EPSS (next 30 days)
27 May 2021published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Squid

178 of 214 listed versions are affected. Fixed in 5.0.6, 4.15. The newest release, 7.8, is not affected.

5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 4.14 4.13 4.12 4.11 4.10 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0.23 4.0.22 4.0.17 4.0.16 4.0.15 4.0.14 4.0.13 4.0.12 4.0.11 4.0.10 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 3.5.28 3.5.27 3.5.26 3.5.25 3.5.24 3.5.23 3.5.22 3.5.21 3.5.20 3.5.19 3.5.18 3.5.17 3.5.16 3.5.15 3.5.14 3.4.14 3.4.13 3.4.12 3.4.11 3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 3.4.4.2 and 118 more

What it is

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 (NVD)

Published by MITRE on 27 May 2021. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2021-31806 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.