CVE-2026-50012
MEDIUMSquid: Memory corruption in cache_digest reply handling
Title source: cnaDescription
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.
References (4)
Core 4
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284
X_Refsource_Misc x_refsource_misc
https://github.com/squid-cache/squid/pull/2423
X_Refsource_Misc x_refsource_misc
https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd
X_Refsource_Misc x_refsource_misc
https://github.com/squid-cache/squid/releases/tag/SQUID_7_6
Scores
CVSS v3
5.5
EPSS
0.0136
EPSS Percentile
69.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-122
CWE-20
Status
published
Products (1)
squid-cache/squid
< 7.6 (2 CPE variants)
Published
Jul 16, 2026
Tracked Since
Jul 16, 2026