Squid's URN Handling can lead to Buffer Overflow
Published Aug 1, 2025
9.8
CRITICALCVSS 3.1
EPSS 22.67%
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.
Affected products
-
- Version < 6.4StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Squid-Cache | Squid | n/a |
|
- < 6.4
No data.
Red Hat Enterprise Linux 7 Extended Lifecycle Support
squid-7:3.5.20-17.el7_9.14
Fixed · RHSA-2025:14414
Red Hat Enterprise Linux 8
squid:4-8090020231130092412.a75119d5
Fixed · RHSA-2023:7668
Red Hat Enterprise Linux 8.2 Advanced Update Support
squid:4-8020020240122164331.4cda2c84
Fixed · RHSA-2024:0772
Red Hat Enterprise Linux 8.2 Telecommunications Update Service
squid:4-8020020240122164331.4cda2c84
Fixed · RHSA-2024:0772
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions
squid:4-8020020240122164331.4cda2c84
Fixed · RHSA-2024:0772
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
squid:4-8040020240122165847.522a0ee4
Fixed · RHSA-2024:0773
Red Hat Enterprise Linux 8.4 Telecommunications Update Service
squid:4-8040020240122165847.522a0ee4
Fixed · RHSA-2024:0773
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
squid:4-8040020240122165847.522a0ee4
Fixed · RHSA-2024:0773
Red Hat Enterprise Linux 8.6 Extended Update Support
squid:4-8060020231222131040.ad008a3a
Fixed · RHSA-2024:0771
Red Hat Enterprise Linux 8.8 Extended Update Support
squid:4-8080020231222130009.63b34585
Fixed · RHSA-2024:0397
Red Hat Enterprise Linux 9
squid-7:5.5-6.el9_3.2
Fixed · RHSA-2023:7465
Red Hat Enterprise Linux 9.0 Extended Update Support
squid-7:5.2-1.el9_0.4
Fixed · RHSA-2024:1153
Red Hat Enterprise Linux 9.2 Extended Update Support
squid-7:5.5-5.el9_2.3
Fixed · 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
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 Extended Lifecycle Support | squid-7:3.5.20-17.el7_9.14 | Fixed | RHSA-2025:14414 |
| Red Hat Enterprise Linux 8 | squid:4-8090020231130092412.a75119d5 | Fixed | RHSA-2023:7668 |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | squid:4-8020020240122164331.4cda2c84 | Fixed | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.2 Telecommunications Update Service | squid:4-8020020240122164331.4cda2c84 | Fixed | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions | squid:4-8020020240122164331.4cda2c84 | Fixed | RHSA-2024:0772 |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | squid:4-8040020240122165847.522a0ee4 | Fixed | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | squid:4-8040020240122165847.522a0ee4 | Fixed | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | squid:4-8040020240122165847.522a0ee4 | Fixed | RHSA-2024:0773 |
| Red Hat Enterprise Linux 8.6 Extended Update Support | squid:4-8060020231222131040.ad008a3a | Fixed | RHSA-2024:0771 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | squid:4-8080020231222130009.63b34585 | Fixed | RHSA-2024:0397 |
| Red Hat Enterprise Linux 9 | squid-7:5.5-6.el9_3.2 | Fixed | RHSA-2023:7465 |
| Red Hat Enterprise Linux 9.0 Extended Update Support | squid-7:5.2-1.el9_0.4 | Fixed | RHSA-2024:1153 |
| Red Hat Enterprise Linux 9.2 Extended Update Support | squid-7:5.5-5.el9_2.3 | Fixed | RHSA-2024:0072 |
| Red Hat Enterprise Linux 10 | squid | Not affected | n/a |
| Red Hat Enterprise Linux 6 | squid | Out of support scope | n/a |
| Red Hat Enterprise Linux 6 | squid34 | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
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.
Red Hat mitigation
Users can disable URN access permissions to mitigate this issue.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 other sources (GitHub, Red Hat) ▾
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:H
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
YesTechnical Impact
PartialDecision
n/aAssessed Aug 1, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (15 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 22.67% (0.22669) | 97.66th | v5 (v2026.06.15) |
| Sep 9, 2026 | 21.95% (0.21949) | 97.50th | v5 (v2026.06.15) |
| Jun 15, 2026 | 23.46% (0.23455) | 97.50th | v5 (v2026.06.15) |
| Jun 11, 2026 | 19.87% (0.19868) | 95.60th | v4 (v2025.03.14) |
| May 28, 2026 | 9.32% (0.09320) | 92.88th | v4 (v2025.03.14) |
| May 24, 2026 | 4.99% (0.04990) | 89.81th | v4 (v2025.03.14) |
| May 22, 2026 | 6.81% (0.06810) | 91.43th | v4 (v2025.03.14) |
| May 16, 2026 | 4.99% (0.04990) | 89.80th | v4 (v2025.03.14) |
| Mar 7, 2026 | 2.96% (0.02959) | 86.27th | v4 (v2025.03.14) |
| Jan 13, 2026 | 1.39% (0.01392) | 79.93th | v4 (v2025.03.14) |
| Jan 9, 2026 | 3.40% (0.03399) | 87.06th | v4 (v2025.03.14) |
| Dec 27, 2025 | 1.91% (0.01905) | 82.84th | v4 (v2025.03.14) |
| Oct 28, 2025 | 0.82% (0.00823) | 73.69th | v4 (v2025.03.14) |
| Oct 27, 2025 | 2.00% (0.02005) | 83.09th | v4 (v2025.03.14) |
| Aug 2, 2025 | 0.93% (0.00927) | 75.21th | v4 (v2025.03.14) |
References (9)
- http://www.openwall.com/lists/oss-security/2025/11/05/5
- https://access.redhat.com/security/cve/CVE-2025-54574 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2386026 Issue Tracking
- https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 x_refsource_MISCPatch
- https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 x_refsource_MISCRelease Notes
- https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 x_refsource_CONFIRMMitigationPatchVendor Advisory
- https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-54574
- https://www.cve.org/CVERecord?id=CVE-2025-54574
| Link | Providers | Tags |
|---|---|---|
| http://www.openwall.com/lists/oss-security/2025/11/05/5 | ||
| https://access.redhat.com/security/cve/CVE-2025-54574 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2386026 | Issue Tracking | |
| https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 | x_refsource_MISCPatch | |
| https://github.com/squid-cache/squid/releases/tag/SQUID_6_4 | x_refsource_MISCRelease Notes | |
| https://github.com/squid-cache/squid/security/advisories/GHSA-w4gv-vw3f-29g3 | x_refsource_CONFIRMMitigationPatchVendor Advisory | |
| https://lists.debian.org/debian-lts-announce/2025/09/msg00027.html | ||
| https://nvd.nist.gov/vuln/detail/CVE-2025-54574 | ||
| https://www.cve.org/CVERecord?id=CVE-2025-54574 |
Change history (0)
No recorded changes yet.