Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Squid-Cache | Squid | < 7.6 |
Related Weaknesses (CWE)
References
- https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c00Patch
- https://github.com/squid-cache/squid/pull/2423Patch
- https://github.com/squid-cache/squid/releases/tag/SQUID_7_6Release Notes
- https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284Vendor Advisory
FAQ
What is CVE-2026-50012?
CVE-2026-50012 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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-b...
How severe is CVE-2026-50012?
CVE-2026-50012 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-50012?
Check the references section above for vendor advisories and patch information. Affected products include: Squid-Cache Squid.