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

CVE-2025-54574 affects 195 listed versions of Squid in the Dawnsentry catalogue.

9.8CVSS critical
None knownexploitation
22%EPSS (next 30 days)
1 August 2025published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Squid

195 of 214 listed versions are affected. Fixed in 6.4. The newest release, 7.8, is not affected.

6.3 6.2 6.1 6.0.1 5.9 5.8 5.7 5.6 5.5 5.4 5.3 5.2 5.1 5.0.6 5.0.5 5.0.4 5.0.3 5.0.2 5.0.1 4.17 4.16 4.15 4.14 4.13 4.12 4.11 4.10 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0.23 4.0.22 4.0.17 4.0.16 4.0.15 4.0.14 4.0.13 4.0.12 4.0.11 4.0.10 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 3.5.28 3.5.27 3.5.26 3.5.25 3.5.24 3.5.23 3.5.22 3.5.21 3.5.20 and 135 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by GitHub on 1 August 2025. Last changed 17 June 2026.

Sources

Check one version you run: look CVE-2025-54574 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.