CVE-2026-50012: Squid: Memory corruption in cache_digest reply handling
Vulnerability summary
CVE-2026-50012 is a medium (CVSS 5.5) Improper Input Validation vulnerability in squid-cache squid. EPSS estimates a 1.36% chance of exploitation in the next 30 days, higher than 72.7% of scored vulnerabilities.
Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 7Timeline
- 16-07-2026PublishedVulnerability first disclosed.
- 17-07-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
EPSS trend
Probability
1.36%
Chance of exploitation in the next 30 days
Percentile
73%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.36% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-122Heap-based Buffer OverflowThe product writes past the end of a buffer that was allocated on the heap.
Affected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu2 products
- squidAll versions (No fix recorded) | < 4.10-1ubuntu1.13+esm3 | < 5.9-0ubuntu0.22.04.7 | < 6.14-0ubuntu0.24.04.4 | < 6.14-0ubuntu0.25.10.4 | < 7.2-2ubuntu2.2
- squid3All versions (No fix recorded) | < 3.5.12-1ubuntu7.16+esm7 | < 3.5.27-1ubuntu1.14+esm6
Alpine1 product
- squid< 7.6-r0
Debian1 product
- squid< 5.7-2+deb12u6 | < 6.13-2+deb13u2 | < 7.6-1
Squid-cache1 product
- squid< 7.6
4 vendors · 5 products
References
12 links- github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284X Refsource CONFIRMVendor Advisory