Skip to main content
Public proof of conceptFix available

CVE-2025-54574

A public proof of concept exists; no exploitation attested.

  • Published2025-08-01
  • Fixed in6.4
  • WeaknessCWE-122 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-08-0118:15CVE publishedNVD
  2. 2025-11-1715:00Listed as exploited by GCVEGCVE
  3. 2025-11-1715:00Exploitation first reportedGCVE

Versions per branch

NVD
Squid-cache squid
BranchAffectedFixed in
6.4< 6.46.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • squid-cache squid
    Affected
    • = < 6.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-08-01

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • libecapRed Hat:rhel_tus:8.4::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_tus:8.2::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_eus:8.8::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_eus:8.6::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_e4s:8.4::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_e4s:8.2::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_aus:8.4::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages
  • libecapRed Hat:rhel_aus:8.2::appstreamall versions · fixed in 0:1.0.1-2.module+el8.1.0+4044+36416a77and 3 other packages

37 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-54574 Red Hat Product Security218 products fixed · 4 known affected

    squid-cache: Squid Buffer Overflow

    squid as a component of Red Hat Enterprise Linux 6 · squid.src as a component of Red Hat Enterprise Linux 6 · squid34 as a component of Red Hat Enterprise Linux 6 · +1 more

  • RHSA-2025:14414 Red Hat Product Security21 products fixed

    Red Hat Security Advisory: squid security update

  • RHSA-2024:1153 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: squid security update

  • RHSA-2024:0771 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: squid:4 security update

  • RHSA-2024:0773 Red Hat Product Security34 products fixed

    Red Hat Security Advisory: squid:4 security update

  • RHSA-2024:0772 Red Hat Product Security34 products fixed

    Red Hat Security Advisory: squid:4 security update

4 more advisories

Full record on NVD

Fix

  1. Update Squid-cache squid to 6.4
  2. Vendor fix Red Hat Product Security RHSA-2025:14414 · 21 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security CVE-2025-54574 · 34 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the squid service will be restarted automatically.
  4. Workaround from the vendor Red Hat Product Security RHSA-2025:14414 · 21 productsUsers can disable URN access permissions to mitigate this issue.

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2025-08-01
  • CNACVSS 3.19.3known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-122known since 2026-10-23
  • NVDweakness (CWE)CWE-787read 2026-10-23
  • FIRST EPSSEPSS score22.1 %read 2026-12-04
  • PoC-in-GitHubproof of concept2known since 2026-11-01
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-08-01
Last modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2025-54574?

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.

Is CVE-2025-54574 actively exploited?

Active exploitation of CVE-2025-54574 has not been confirmed. Its EPSS score was 22.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2025-54574?

CVE-2025-54574 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running squid-cache? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record