CVE-2026-50012
Fixed in a distro release EPSS 1%CVSS 5.5
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.
Products: squid-cache squid
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Alpine 3.23 | squid | 7.6-r0 |
| Alpine 3.24 | squid | 7.6-r0 |
| Debian 12 | squid | 5.7-2+deb12u6 |
| Debian 13 | squid | 6.13-2+deb13u2 |
| Debian 14 | squid | 7.6-1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | squid | 6.14-150600.3.20.1 |
| SUSE Linux Enterprise Server 15 SP6-LTSS | squid | 6.14-150600.3.20.1 |
| SUSE Linux Enterprise Server 16.0 | squid | 6.14-160000.1.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | squid | 6.14-150600.3.20.1 |
| SUSE Linux Enterprise Server for SAP applications 16.0 | squid | 6.14-160000.1.1 |
| Ubuntu 22.04 LTS | squid | 5.9-0ubuntu0.22.04.7 |
| Ubuntu 22.04 LTS | squid | 5.9-0ubuntu0.22.04.8 |
| Ubuntu 24.04 LTS | squid | 6.14-0ubuntu0.24.04.4 |
| Ubuntu 24.04 LTS | squid | 6.14-0ubuntu0.24.04.5 |
| Ubuntu 25.10 | squid | 6.14-0ubuntu0.25.10.4 |
| Ubuntu 26.04 LTS | squid | 7.2-2ubuntu2.2 |
| Ubuntu Pro 16.04 LTS | squid3 | 3.5.12-1ubuntu7.16+esm7 |
| Ubuntu Pro 18.04 LTS | squid3 | 3.5.27-1ubuntu1.14+esm6 |
| Ubuntu Pro 20.04 LTS | squid | 4.10-1ubuntu1.13+esm3 |
| openSUSE Leap 16.0 | squid | 6.14-160000.1.1 |
| openSUSE Tumbleweed | squid | 7.7-2.1 |