Squid
Squid's URN Handling can lead to Buffer Overflow
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.
First public PoC
3.5 daysafter publication · 5 Aug 2025
Public PoCs11 on GitHub
CVSS9.8critical · scored by NVD · CWE-122
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
squid-cache squid
- < 6.4
Fixed in 6.4
Mitigation
Upgrade squid to 6.4 or later.
References
- Vendor advisory github.com/squid-cache/squid/security/advisori…
- Patch github.com/squid-cache/squid/commit/a27bf4b84d…
- Release notes github.com/squid-cache/squid/releases/tag/SQUI…
Timeline
Days relative to CVE publicationFirst public PoC 3.5 days after publication; not in CISA KEV. First PoC: gmh5225/Blackash-CVE-2025-54574 (created 5 Aug 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending · 1 informational
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| gmh5225/Blackash-CVE-2025-54574 | 5 Aug 2025 +3.5 d | 0 | PoC via PoC Index |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| B1ack4sh/Blackash-CVE-2025-54574 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| starrynightsecurity/CVE-2025-54574-Squid-Heap-Buffer-Overflow | 17 Nov 2025 +108 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.