CVE-2025-54574 Squid's URN Handling can lead to Buffer Overflow
CriticalCVSS 9.8
EPSS 22.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/squid(Debian:12) | < 5.7-2+deb12u3 | 5.7-2+deb12u3 |
| debian/squid(Debian:12) | = 5.7-2 | No fix listed |
| debian/squid(Debian:12) | = 5.7-2+deb12u1 | No fix listed |
| debian/squid(Debian:12) | = 5.7-2+deb12u2 | No fix listed |
| debian/squid(Debian:13) | < 6.5-1 | 6.5-1 |
| debian/squid(Debian:14) | < 6.5-1 | 6.5-1 |
| squid-cache squid | = < 6.4 | No fix listed |
| ubuntu/squid(Ubuntu:22.04) | < 5.7-0ubuntu0.22.04.4 | 5.7-0ubuntu0.22.04.4 |
| squid-cache squid | < 6.4 | 6.4 |
References
- Debian Security Tracker CVE-2025-54574 vendor-advisory
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 mitigation patch vendor-advisory
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 patch
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 release-notes
- lists.debian.org
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org