Buffer overflow in Squid-Cache Squid
CVE-2025-54574
Squid is a caching proxy for the Web. In versions 6.3 and below, Squid is vulnerable to a heap buffer overflow and possible remote code execution attack when processing URN due to incorrect buffer management. This has been fixed in version 6.4. To work around this issue, disable URN access permissions.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.3 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H.
EPSS exploit prediction
EPSS 0.221, 97.7th percentile (scored ); down from 0.235 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.235 · newest: 0.221 · change: -0.014
Affected products
- Squid-Cache Squid — versions < 6.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- starrynightsecurity/CVE-2025-54574-Squid-Heap-Buffer-Overflow (last pushed 2026-01-26): Vulnerability Found on Squid Proxy.
- gmh5225/Blackash-CVE-2025-54574 (last pushed 2025-08-04): CVE-2025-54574
- B1ack4sh/Blackash-CVE-2025-54574
Also mentioned in 4 other repositories (fkie-cad/nvd-json-data-feeds, nomi-sec/PoC-in-GitHub, PuddinCat/GithubRepoSpider, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 (Patch, Mitigation, Vendor Advisory)
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 (Patch)
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 (Release Notes)
- www.openwall.com/lists/oss-security/2025/11/05/5
- lists.debian.org/debian-lts-announce/2025/09/msg00027.html
This CVE has public exploit evidence. See the latest CVEs with public exploits.