Heap-based buffer overflow in Squid - CVE-2026-50012

 

Heap-based buffer overflow in Squid - CVE-2026-50012

Published: June 24, 2026


Vulnerability identifier: #VU135131
CSH Severity: Low
CVSS v4: 7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-50012
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to cause a denial of service and modify memory.

The vulnerability exists due to heap-based buffer overflow in cache_digest reply handling when processing maliciously crafted replies to cache_digest request messages. A remote privileged user can send a specially crafted reply to cause a denial of service and modify memory.

Only instances compiled with the --enable-cache-digests option are vulnerable, and exploitation requires a trusted peer relationship over TCP.


Affected software

Squid
Debian Linux
openEuler
Fedora
squid
squid-debuginfo
squid-debugsource
squid (Debian package)

How to mitigate CVE-2026-50012

Install security update from vendor's website.

Squid - update to 7.6
squid - update to 4.9-31
squid-debuginfo - update to 4.9-31
squid-debugsource - update to 4.9-31
squid (Debian package) - update to 6.13-2+deb13u2
squid - update to 7.6-1.fc44

External References

Related Security Bulletins