Squid: Memory corruption in cache_digest reply handling
CVE-2026-50012Published 16 Jul 2026, 16:11 UTC
Real-world risk
0.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Squid is a caching proxy for the Web. Prior to 7.6, due to an improper input validation bug in cache digest reply handling (peerDigestSwapInMask in src/peer_digest.cc), Squid is vulnerable to a heap-based buffer overflow: a cache digest's on-the-wire size may be larger than the mask_size declared within the digest, so a trusted peer sending a maliciously crafted reply to a cache_digest request message can trigger the overflow. This attack is limited to Squid instances compiled with the --enable-cache-digests option and configured with cache_peer entries. This issue is fixed in version 7.6.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| squidNiche | < 7.6 | 7.6 |
What to do
Update to a fixed version: 7.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.4% chance of exploitation in 30 days (percentile 73), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.200
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.2 × threat 0.850.680
- Rounded to one decimal between 0.1 and 100.7
Exploitation and evidence timeline
- 16 Jul 2026 Published
- 3 Dec 2026 Risk 0.7 (cvss fallback)
Weakness
CWE-20, CWE-122
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284vendor-advisory
- https://github.com/squid-cache/squid/pull/2423misc
- https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcdmisc
- https://github.com/squid-cache/squid/releases/tag/SQUID_7_6misc
- CVE-2026-50012 on CVE.org