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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-16 · Modified: 2026-07-17
- Aliases: ALPINE-CVE-2026-50012, UBUNTU-CVE-2026-50012, DEBIAN-CVE-2026-50012
- Record: https://cvemate.com/vulnerability/CVE-2026-50012 · JSON: https://cvemate.com/vulnerability/CVE-2026-50012/json

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

## Signals

- CVSS: 5.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- EPSS: 1.364%, percentile 72.753%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine squid (Alpine Linux): \< 7.6-r0
- debian squid (Debian): \< 5.7-2+deb12u6 \| \< 6.13-2+deb13u2 \| \< 7.6-1
- ubuntu squid (Ubuntu): All versions (No fix recorded) \| \< 4.10-1ubuntu1.13+esm3 \| \< 5.9-0ubuntu0.22.04.7 \| \< 6.14-0ubuntu0.24.04.4 \| \< 6.14-0ubuntu0.25.10.4 \| \< 7.2-2ubuntu2.2
- ubuntu squid3 (Ubuntu): All versions (No fix recorded) \| \< 3.5.12-1ubuntu7.16+esm7 \| \< 3.5.27-1ubuntu1.14+esm6
- squid-cache squid: \< 7.6

## 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>
- <https://security.alpinelinux.org/vuln/CVE-2026-50012>
- <https://ubuntu.com/security/CVE-2026-50012>
- <https://www.cve.org/CVERecord?id=CVE-2026-50012>
- <https://www.openwall.com/lists/oss-security/2026/06/12/1>
- <https://ubuntu.com/security/notices/USN-8435-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-50012>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50012>
- <https://ubuntu.com/security/notices/USN-8941-1>

---

Data as of 2026-12-05T05:11:07.229Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
