Vulnerability · Published Aug 1, 2025 · Assigned by GitHub_M
CVE-2025-54574Squid's URN Handling can lead to Buffer Overflow
Critical 9.3
In plain English
A critical-severity heap buffer overflow in squid from squid-cache. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 22.1% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | libecap | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2023:7668 |
| AlmaLinux:8 | libecap | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2023:7668 |
| AlmaLinux:8 | libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2023:7668 |
| AlmaLinux:8 | libecap-devel | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2023:7668 |
| AlmaLinux:8 | squid | 7:4.15-7.module_el8.9.0+3696+b881db49.3 | ALSA-2023:7668 |
| Debian:12 | squid | 5.7-2+deb12u3 | DSA-5982-1 |
| Debian:12 | squid | 5.7-2+deb12u3 | DEBIAN-CVE-2025-54574 |
| Debian:13 | squid | 6.5-1 | DEBIAN-CVE-2025-54574 |
| Debian:14 | squid | 6.5-1 | DEBIAN-CVE-2025-54574 |
| Ubuntu:22.04:LTS | squid | 5.7-0ubuntu0.22.04.4 | UBUNTU-CVE-2025-54574 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| squid-cache | squid | < 6.4 |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 x_refsource_CONFIRM
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 x_refsource_MISC
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html
- http://www.openwall.com/lists/oss-security/2025/11/05/5