CVEfocus › CVE database › CVE-2025-54574

CVE-2025-54574Squid's URN Handling can lead to Buffer Overflow

CVSS 9.3 CriticalEPSS 22.1% (higher than 98% of CVEs)Published 2025-08-01Updated 2025-11-05Assigner: GitHub_M

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.

CWE-122

What to do

Likely to be exploited: EPSS gives a 22% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
2Fix pending
2Will not fix
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04squidNot affected
vulnerable_code_not_present
Ubuntu 25.10squidNot affected
vulnerable_code_not_present
Ubuntu 24.04squidNot affected
vulnerable_code_not_present
Ubuntu 22.04squidFixed5.7-0ubuntu0.22.04.4UBUNTU-CVE-2025-54574
Ubuntu 20.04squidFixed4.10-1ubuntu1.12UBUNTU-CVE-2025-54574
Ubuntu 18.04squid3Fix pendingUBUNTU-CVE-2025-54574
Ubuntu 16.04squid3Fix pendingUBUNTU-CVE-2025-54574
Debian 14squidFixed6.5-1DEBIAN-CVE-2025-54574
Debian 13squidFixed6.5-1DEBIAN-CVE-2025-54574
Debian 12squidFixed5.7-2+deb12u3DEBIAN-CVE-2025-54574
Red Hat Enterprise Linux 10squidNot affected
Red Hat Enterprise Linux 9squidFixed7:5.5-6.el9_3.2RHSA-2023:7465
Red Hat Enterprise Linux 8libecapFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hat Enterprise Linux 8libecap-develFixed0:1.0.1-2.module+el8.9.0+19703+a1da7223RHSA-2023:7668
Red Hat Enterprise Linux 8squidFixed7:4.15-7.module+el8.9.0+20806+014d88aa.3RHSA-2023:7668
Red Hat Enterprise Linux 6squidWill not fix
Out of support scope
Red Hat Enterprise Linux 6squid34Will not fix
Out of support scope
AlmaLinux 8libecapFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2023:7668
AlmaLinux 8libecap-develFixed1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2023:7668
AlmaLinux 8squidFixed7:4.15-7.module_el8.9.0+3696+b881db49.3ALSA-2023:7668

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.