CVE-2026-50012: Heap-based buffer overflow in Squid cache digest reply handling
- Vendor
- Squid-Cache
CVE-2026-50012 is a heap-based buffer overflow in Squid versions before 7.6 without a vendor backport. Improper input validation in peerDigestSwapInMask allows a cache digest reply's on-the-wire size to exceed the mask_size declared within the digest, causing a heap buffer overflow. A trusted cache peer can trigger the flaw by returning a maliciously crafted response to a cache_digest request. Affected deployments must be compiled with --enable-cache-digests and configured with cache_peer entries. Exploitation can cause memory corruption and crash the proxy.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A malicious trusted peer can cause heap memory corruption and potentially crash Squid, disrupting proxy availability. The CVSS v3.1 assessment indicates high availability impact, low integrity impact, and no confidentiality impact. Arbitrary code execution is not established.
Mitigation
If you can’t patch tonight, do this now.
Until patched, eliminate the vulnerable cache digest processing path by using a Squid build without --enable-cache-digests or removing cache_peer configuration where operationally feasible. These measures follow from the exploitation prerequisites; no specific vendor-endorsed interim workaround is identified.
Remediation
Patch, then assume compromise.
Upgrade to Squid 7.6 or later, or install a distribution-provided package containing the backported fix. Debian trixie provides the fix in squid 6.13-2+deb13u2. For other distributions, install the applicable vendor security update rather than relying solely on the upstream version number.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-50012 exploited in the wild?
- As of Nov 13, 2026, Mallory has no reports of CVE-2026-50012 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-50012?
- As of Nov 13, 2026, Mallory has found no public exploit for CVE-2026-50012.
- Is there a patch for CVE-2026-50012?
- Upgrade to Squid 7.6 or later, or install a distribution-provided package containing the backported fix. Debian trixie provides the fix in squid 6.13-2+deb13u2.
- What products are affected by CVE-2026-50012?
- Squid-Cache Squid.
- How severe is CVE-2026-50012?
- CVE-2026-50012 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 1.4% (72nd percentile) as of Nov 13, 2026.
Recent activity
40 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.