PT-2025-31674 · Squid +2 · Squid +2
Starrynight
·
Published
2025-08-01
·
Updated
2025-08-08
·
CVE-2025-54574
9.3
Critical
Base vector | Vector | AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H |
**Name of the Vulnerable Software and Affected Versions:**
Squid versions 6.3 and below
Squid versions 4.x through 4.17
Squid versions 5.x through 5.9
**Description:**
Squid is vulnerable to a heap-based buffer overflow when processing Uniform Resource Name (URN) requests due to incorrect buffer management. This allows a remote attacker to potentially execute arbitrary code or leak up to 4KB of heap memory, which may contain sensitive information like session tokens and keys. The vulnerability occurs when processing specially crafted URN Trivial-HTTP responses. Over 53 million instances of the software have been identified, with over 27% potentially vulnerable.
**Recommendations:**
Squid versions prior to 6.4: Update to version 6.4 or later to resolve this issue.
Squid versions 4.x through 4.17: Update to version 6.4 or later to resolve this issue.
Squid versions 5.x through 5.9: Update to version 6.4 or later to resolve this issue.
As a temporary workaround, disable URN access permissions by adding the following to the Squid configuration:
```
acl URN proto URN
http access deny URN
```
Then, restart Squid to apply the changes.
Fix
RCE
Heap Based Buffer Overflow
Weakness Enumeration
Related Identifiers
Affected Products
References · 33
- https://nvd.nist.gov/vuln/detail/CVE-2025-54574 · Security Note
- https://security-tracker.debian.org/tracker/CVE-2025-54574 · Vendor Advisory
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-54574 · Security Note
- https://osv.dev/vulnerability/CVE-2025-54574 · Vendor Advisory
- https://bdu.fstec.ru/vul/2025-09345 · Security Note
- https://security-tracker.debian.org/tracker/source-package/squid · Vendor Advisory
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3⭐ 2597 🔗 570 · Note
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988⭐ 2597 🔗 570 · Note
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4⭐ 2597 🔗 570 · Note
- https://runzero.com/blog/squid · Reddit Post
- https://twitter.com/the_yellow_fall/status/1952179519537979650 · Twitter Post
- https://twitter.com/SecAideInfo/status/1952313382276677976 · Twitter Post
- https://twitter.com/HunterMapping/status/1952610402614882799 · Twitter Post
- https://twitter.com/fridaysecurity/status/1952162162157162996 · Twitter Post
- https://t.me/pentestingnews/65647 · Telegram Post