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

Critical 9.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2025-54574?

CVE-2025-54574 is a critical vulnerability in Squid-Cache Squid, published on 1 Aug 2025.

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.

Weakness: CWE-787, CWE-122

Which versions are affected by CVE-2025-54574?

It affects 1 product.

Products include Squid-Cache Squid.

How do I fix CVE-2025-54574?

Upgrade to a fixed version.

Is CVE-2025-54574 being exploited?

There is no known exploitation of CVE-2025-54574 in the wild and no public exploit code.

Public exploit code: 2 proofs of concept on GitHub.

All Squid-Cache Squid vulnerabilities

Sources

Also known as AZL-66075, CLSA-2025-1757010850, CLSA-2025-1757014622, CLSA-2025-1757015024, CLSA-2025-1757015131, CLSA-2025-1757016520 and 6 more.

Is CVE-2025-54574 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free