CVE-2025-54574: 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 5.7-2+deb12u5Fixed in 5.7-2+deb12u6Fixed in 6.13-2+deb13u3Fixed in 6.13-2+deb13u4Fixed in 7.8-1 - Upgrade
Upgrade
Squidto a version that resolves this vulnerability.Fixed in 6.4 - Configuration
Disable URN access permissions as a workaround.
Squid URN access permissions = disabled
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54574?
CVE-2025-54574 is rated as a high severity vulnerability due to its potential for remote code execution.
How do I fix CVE-2025-54574?
To fix CVE-2025-54574, upgrade to Squid version 6.4 or later.
What versions of Squid are affected by CVE-2025-54574?
CVE-2025-54574 affects Squid versions 6.3 and below.
Can CVE-2025-54574 be exploited remotely?
Yes, CVE-2025-54574 can be exploited remotely due to a heap buffer overflow.
What is a possible workaround for CVE-2025-54574?
A possible workaround for CVE-2025-54574 is to disable URN processing in Squid.