CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in squid-cache squid. EPSS 22% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-54574 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-54574?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-54574?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-54574 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| squid-cache:squid | before 6.4 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | squid | 4.13-10+deb11u5 | DLA-4312-1 |
| Debian | 12 | squid | 5.7-2+deb12u3 | DEBIAN-CVE-2025-54574 DSA-5982-1 |
| Debian | 13, 14 | squid | 6.5-1 | DEBIAN-CVE-2025-54574 |
| Ubuntu | 20.04:LTS | squid | 4.10-1ubuntu1.12 | UBUNTU-CVE-2025-54574 |
| Ubuntu | 22.04:LTS | squid | 5.7-0ubuntu0.22.04.4 | UBUNTU-CVE-2025-54574 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | squid3 | no fix listed | UBUNTU-CVE-2025-54574 |
| Red Hat | enterprise_linux:8::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.9.0+19703+a1da7223 | RHSA-2023:7668 |
| Red Hat | enterprise_linux:8::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.15-7.module+el8.9.0+20806+014d88aa.3 | RHSA-2023:7668 |
| Red Hat | enterprise_linux:9::appstream | squid, squid-debuginfo, squid-debugsource | 7:5.5-6.el9_3.2 | RHSA-2023:7465 |
| Red Hat | rhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2024:0772 |
| Red Hat | rhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.4-8.module+el8.2.0+21173+22259b09.7 | RHSA-2024:0772 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2024:0773 |
| Red Hat | rhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.11-4.module+el8.4.0+21174+3894a031.6 | RHSA-2024:0773 |
| Red Hat | rhel_els:7 | squid, squid-sysvinit, squid-debuginfo and 1 more | 7:3.5.20-17.el7_9.14 | RHSA-2025:14414 |
| Red Hat | rhel_eus:8.6::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2024:0771 |
| Red Hat | rhel_eus:8.6::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.15-3.module+el8.6.0+21069+a1561e3d.4 | RHSA-2024:0771 |
| Red Hat | rhel_eus:8.8::appstream | libecap, libecap-devel, libecap-debuginfo and 1 more | 0:1.0.1-2.module+el8.1.0+4044+36416a77 | RHSA-2024:0397 |
| Red Hat | rhel_eus:8.8::appstream | squid, squid-debuginfo, squid-debugsource | 7:4.15-6.module+el8.8.0+21068+0ecbc070.3 | RHSA-2024:0397 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| AlmaLinux | 8 | libecap, libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 | ALSA-2023:7668 |
| AlmaLinux | 8 | libecap, libecap-devel | 1.0.1-2.module_el8.6.0+3048+383bc947 | ALSA-2023:7668 |
| AlmaLinux | 8 | squid | 7:4.15-7.module_el8.9.0+3696+b881db49.3 | ALSA-2023:7668 |
| Azure Linux | 2 | squid | no fix listed | AZL-66075 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Important.
This vulnerability is Important because the heap-based buffer overflow occurs during URN processing in Squid’s core request-handling path, which is exposed to untrusted, remote input. Unlike flaws that merely cause a service crash, this defect allows an attacker to manipulate heap memory structures, potentially achieving arbitrary code execution within the Squid process context. Since Squid often runs with elevated privileges and serves as a gateway between internal and external networks, successful exploitation could provide a remote attacker with direct control over the proxy server, enabling them to pivot into internal systems, intercept sensitive traffic, or alter cached content.
Users can disable URN access permissions to mitigate this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | squid-7:3.5.20-17.el7_9.14 | Fixed 2025-08-25 | RHSA-2025:14414 |
| Red Hat Enterprise Linux 8 | squid:4-8090020231130092412.a75119d5 | Fixed 2023-12-06 | RHSA-2023:7668 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | squid:4-8020020240122164331.4cda2c84 | Fixed 2024-02-12 | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | squid:4-8020020240122164331.4cda2c84 | Fixed 2024-02-12 | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | squid:4-8020020240122164331.4cda2c84 | Fixed 2024-02-12 | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | squid:4-8040020240122165847.522a0ee4 | Fixed 2024-02-12 | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | squid:4-8040020240122165847.522a0ee4 | Fixed 2024-02-12 | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | squid:4-8040020240122165847.522a0ee4 | Fixed 2024-02-12 | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | squid:4-8060020231222131040.ad008a3a | Fixed 2024-02-12 | RHSA-2024:0771 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | squid:4-8080020231222130009.63b34585 | Fixed 2024-01-24 | RHSA-2024:0397 |
| Red Hat Enterprise Linux 9 | squid-7:5.5-6.el9_3.2 | Fixed 2023-11-22 | RHSA-2023:7465 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | squid-7:5.2-1.el9_0.4 | Fixed 2024-03-05 | RHSA-2024:1153 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | squid-7:5.5-5.el9_2.3 | Fixed 2024-01-08 | RHSA-2024:0072 |
| Red Hat Enterprise Linux 10 | squid | Not affected | |
| Red Hat Enterprise Linux 6 | squid | Out of support scope | |
| Red Hat Enterprise Linux 6 | squid34 | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-54574.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.