# CVE-2026-50012: Squid: Memory corruption in cache_digest reply handling

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.36%, higher than 72% of CVEs (2026-12-01)
- Published: 2026-07-16T16:11:34.488Z
- Modified: 2026-10-24T20:10:00.137Z
- Weaknesses: CWE-20, CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- squid-cache squid: < 7.6; before 7.6

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284> (vendor-advisory)
- <https://github.com/squid-cache/squid/pull/2423> (patch)
- <https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd> (patch)
- <https://github.com/squid-cache/squid/releases/tag/SQUID_7_6> (release-notes)

## Sources

- CVE List: [CVE-2026-50012](https://www.cve.org/CVERecord?id=CVE-2026-50012), CVE Terms of Use, modified 2026-07-17
- NVD: [CVE-2026-50012](https://nvd.nist.gov/vuln/detail/CVE-2026-50012), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-50012 · Whole record: https://cve.day/CVE-2026-50012.json · Rebuilt by cve.day 2026-11-25T22:59:28.406Z
