CVE-2026-50012: squid-cache squid Improper Input Validation
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 71.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 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
71%
Versus all other CVEs
30-day change
0.00 pp
From 1.36% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
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 OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
Affected systems
Ubuntu2 products
- squidAll versions (No fix recorded) | < 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)
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
11 links- github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284X Refsource CONFIRMVendor Advisory