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.0: 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/E:U/U:Clear
CVE-ID: CVE-2026-50012
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Squid-cache.org
Affected software:
Squid

Detailed vulnerability description

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.


How to mitigate CVE-2026-50012

Install security update from vendor's website.

Sources