Vulnerabilities / CVE-2025-54574

critical

CVE-2025-54574

squid-cache: Squid Buffer Overflow

Published Modified CWE 122, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (high), Amazon (high), Oracle (high), Rocky Linux (high), Ubuntu (medium).

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 packages and fixed versions

SourcePackageFixed in
amazon linux 2023squid, squid-debuginfo, squid-debugsource7:6.6-1.amzn2023.0.3
debian 11squid4.13-10+deb11u5
debian 12squid5.7-2+deb12u3
debian 13squid6.5-1
debian 14squid6.5-1
echosquid5.7-2+deb12u3
Oracle Linux 7squid, squid-migration-script, squid-sysvinit7:3.5.20-17.0.7.el7_9.13
Oracle Linux 9squid7:5.5-6.el9_3.2
rapidfort amazon linux 2023squid7:6.6-1.amzn2023.0.3
rapidfort Oracle Linux 9squid7:5.5-6.el9_3.2
rapidfort ubuntu 20.04rf-squid, squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 22.04rf-squid, squid0:5.7-0ubuntu0.22.04.4
Show all 27 entries from 18 sources
SourcePackageFixed in
amazon linux 2023squid7:6.6-1.amzn2023.0.3
amazon linux 2023squid-debuginfo7:6.6-1.amzn2023.0.3
amazon linux 2023squid-debugsource7:6.6-1.amzn2023.0.3
debian 11squid4.13-10+deb11u5
debian 12squid5.7-2+deb12u3
debian 13squid6.5-1
debian 14squid6.5-1
echosquid5.7-2+deb12u3
Oracle Linux 7squid7:3.5.20-17.0.7.el7_9.13
Oracle Linux 7squid-migration-script7:3.5.20-17.0.7.el7_9.13
Oracle Linux 7squid-sysvinit7:3.5.20-17.0.7.el7_9.13
Oracle Linux 9squid7:5.5-6.el9_3.2
rapidfort amazon linux 2023squid7:6.6-1.amzn2023.0.3
rapidfort Oracle Linux 9squid7:5.5-6.el9_3.2
rapidfort ubuntu 20.04rf-squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 20.04squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 22.04rf-squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 22.04squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 24.04rf-squid0:5.7-0ubuntu0.22.04.4
rapidfort ubuntu 24.04squid0:5.7-0ubuntu0.22.04.4
Red Hatsquidno fix listed
Red Hatsquid34no fix listed
rocky 8squid:4::libecap1.0.1-2.module+el8.9.0+1437+df5ea8f0
rocky 8squid:4::libecap-devel1.0.1-2.module+el8.9.0+1437+df5ea8f0
ubuntu 20.04squid4.10-1ubuntu1.12
ubuntu 20.04-ESMsquid4.10-1ubuntu1.12
ubuntu 22.04squid5.7-0ubuntu0.22.04.4

References

All 19 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.