CVE-2025-54574
CVE-2025-54574 · Squid's URN Handling can lead to Buffer Overflow
CVSS 9.3 · Critical · EPSS 10.0% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- squidNo fix published
- squid Debian 12Update to 5.7-2+deb12u3
- squid Debian 13Update to 6.5-1
- squid Debian 14Update to 6.5-1
- and 4 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- DLA-4312-1 · Debian 11 ·
- RHSA-2025:14414 · Red Hat rhel els 7 ·
- DSA-5982-1 · Debian 12 ·
- RHSA-2024:1153 · Red Hat rhel eus 9.0 appstream ·
- RHSA-2024:0771 · Red Hat rhel eus 8.6 appstream ·
- RHSA-2024:0772 · Red Hat rhel aus 8.2 appstream, Red Hat rhel e4s 8.2 appstream, Red Hat rhel tus 8.2 appstream ·
- RHSA-2024:0773 · Red Hat rhel aus 8.4 appstream, Red Hat rhel e4s 8.4 appstream, Red Hat rhel tus 8.4 appstream ·
- RHSA-2024:0397 · Red Hat rhel eus 8.8 appstream ·
- RHSA-2024:0072 · Red Hat rhel eus 9.2 appstream ·
- RHSA-2023:7668 · Red Hat Enterprise Linux 8 appstream ·
- RHSA-2023:7465 · Red Hat Enterprise Linux 9 appstream ·
- ALSA-2023:7668 · AlmaLinux 8 ·
Stack: system
Affected products and versions
squid
- Versions
- < 6.4: Affected
No fix published
squid Debian 12
- Versions
- 5.7-2
- 5.7-2+deb12u1
- 5.7-2+deb12u2
- Affected ranges
- ECOSYSTEM: < 5.7-2+deb12u3
Update to 5.7-2+deb12u3
squid Debian 13
- Affected ranges
- ECOSYSTEM: < 6.5-1
Update to 6.5-1
squid Debian 14
- Affected ranges
- ECOSYSTEM: < 6.5-1
Update to 6.5-1
squid3 Ubuntu Pro 16.04 LTS
- Versions
- 3.3.8-1ubuntu16
- 3.3.8-1ubuntu17
- 3.5.12-1ubuntu6
- 3.5.12-1ubuntu7
- 3.5.12-1ubuntu7.1
- 3.5.12-1ubuntu7.2
All versions (27)
- 3.5.12-1ubuntu7.3
- 3.5.12-1ubuntu7.4
- 3.5.12-1ubuntu7.5
- 3.5.12-1ubuntu7.6
- 3.5.12-1ubuntu7.7
- 3.5.12-1ubuntu7.8
- 3.5.12-1ubuntu7.9
- 3.5.12-1ubuntu7.10
- 3.5.12-1ubuntu7.11
- 3.5.12-1ubuntu7.12
- 3.5.12-1ubuntu7.13
- 3.5.12-1ubuntu7.14
- 3.5.12-1ubuntu7.15
- 3.5.12-1ubuntu7.16
- 3.5.12-1ubuntu7.16+esm1
- 3.5.12-1ubuntu7.16+esm2
- 3.5.12-1ubuntu7.16+esm3
- 3.5.12-1ubuntu7.16+esm4
- 3.5.12-1ubuntu7.16+esm5
- 3.5.12-1ubuntu7.16+esm6
- 3.5.12-1ubuntu7.16+esm7
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
squid3 Ubuntu Pro 18.04 LTS
- Versions
- 3.5.23-5ubuntu1
- 3.5.23-5ubuntu2
- 3.5.27-1ubuntu1
- 3.5.27-1ubuntu1.1
- 3.5.27-1ubuntu1.2
- 3.5.27-1ubuntu1.3
All versions (23)
- 3.5.27-1ubuntu1.4
- 3.5.27-1ubuntu1.5
- 3.5.27-1ubuntu1.6
- 3.5.27-1ubuntu1.7
- 3.5.27-1ubuntu1.8
- 3.5.27-1ubuntu1.9
- 3.5.27-1ubuntu1.10
- 3.5.27-1ubuntu1.11
- 3.5.27-1ubuntu1.12
- 3.5.27-1ubuntu1.13
- 3.5.27-1ubuntu1.14
- 3.5.27-1ubuntu1.14+esm1
- 3.5.27-1ubuntu1.14+esm2
- 3.5.27-1ubuntu1.14+esm3
- 3.5.27-1ubuntu1.14+esm4
- 3.5.27-1ubuntu1.14+esm5
- 3.5.27-1ubuntu1.14+esm6
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
squid Ubuntu 20.04 LTS
- Versions
- 4.8-1ubuntu2
- 4.8-1ubuntu3
- 4.9-2ubuntu1
- 4.9-2ubuntu2
- 4.9-2ubuntu3
- 4.9-2ubuntu4
All versions (18)
- 4.10-1ubuntu1
- 4.10-1ubuntu1.1
- 4.10-1ubuntu1.2
- 4.10-1ubuntu1.3
- 4.10-1ubuntu1.4
- 4.10-1ubuntu1.5
- 4.10-1ubuntu1.6
- 4.10-1ubuntu1.7
- 4.10-1ubuntu1.8
- 4.10-1ubuntu1.9
- 4.10-1ubuntu1.10
- 4.10-1ubuntu1.11
- Affected ranges
- ECOSYSTEM: < 4.10-1ubuntu1.12
Update to 4.10-1ubuntu1.12
squid Ubuntu 22.04 LTS
- Versions
- 4.13-10ubuntu5
- 5.2-1ubuntu1
- 5.2-1ubuntu3
- 5.2-1ubuntu4
- 5.2-1ubuntu4.1
- 5.2-1ubuntu4.2
All versions (10)
- 5.2-1ubuntu4.3
- 5.7-0ubuntu0.22.04.1
- 5.7-0ubuntu0.22.04.2
- 5.7-0ubuntu0.22.04.3
- Affected ranges
- ECOSYSTEM: < 5.7-0ubuntu0.22.04.4
Update to 5.7-0ubuntu0.22.04.4
Original sources
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4
- https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html
- http://www.openwall.com/lists/oss-security/2025/11/05/5
- https://nvd.nist.gov/vuln/detail/CVE-2025-54574