{"id":"CVE-2026-50012","published":"2026-07-16T16:11:34Z","modified":"2026-07-17T14:04:25Z","title":"Squid: Memory corruption in cache_digest reply handling","vendor":"squid-cache","product":"squid","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02681,"percentile":0.86553,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/squid-cache/squid/pull/2423","tags":["x_refsource_MISC"]},{"url":"https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd","tags":["x_refsource_MISC"]},{"url":"https://github.com/squid-cache/squid/releases/tag/SQUID_7_6","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":17.31},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"squid-cache","affectedVersions":[{"vendor":"squid-cache","product":"squid","versions":["< 7.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-17T14:04:19.455063Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-44961","exploited":false,"provenance":"source"}}