CVE-2026-50012
Squid: Memory corruption in cache_digest reply handling
Reported by github_m · Published July 16, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| squid | Amazon Linux | 7:6.13-1.amzn2023.0.5 |
| squid-sysvinit | Amazon Linux | 7:3.5.20-17.amzn2.7.27 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| squid-cache | squid | < 7.6 |
| amazon:2023 | squid | 0 |
| amazon:2 | squid-sysvinit | 0 |
| squid-cache | squid | 0 |
| alpine | squid | 0 |
| amazon:2 | squid-migration-script | 0 |
| amazon:2 | squid | 0 |
Timeline
- Jun 12, 2026 CVE Published
- Aug 7, 2026 EPSS Score (27 in total, the first dated here)
- Aug 11, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-50012
vulnetix vdb fixes CVE-2026-50012
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-50012/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284 x_refsource_CONFIRM
- https://github.com/squid-cache/squid/pull/2423 x_refsource_MISC
- https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd x_refsource_MISC
- https://github.com/squid-cache/squid/releases/tag/SQUID_7_6 x_refsource_MISC