CVE-2025-54574: Squid's URN Handling can lead to Buffer Overflow

Published Aug 1, 2025
·
Updated

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

3 affected componentsFixes available
Squid Squid<6.4
Squid-Cache Squid<6.4
debian/squid
5.7-2+deb12u55.7-2+deb12u66.13-2+deb13u36.13-2+deb13u47.8-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/squid to 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
  2. Upgrade

    Upgrade Squid to a version that resolves this vulnerability.

    Fixed in 6.4
  3. Configuration

    Disable URN access permissions as a workaround.

    Squid URN access permissions = disabled

Event History

Aug 1, 2025
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·07:01 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-54574?

To fix CVE-2025-54574, upgrade to Squid version 6.4 or later.

3

What versions of Squid are affected by CVE-2025-54574?

CVE-2025-54574 affects Squid versions 6.3 and below.

4

Can CVE-2025-54574 be exploited remotely?

Yes, CVE-2025-54574 can be exploited remotely due to a heap buffer overflow.

5

What is a possible workaround for CVE-2025-54574?

A possible workaround for CVE-2025-54574 is to disable URN processing in Squid.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203