CVE-2026-50012

Squid: Memory corruption in cache_digest reply handling

State
Published
Severity
5.5 Medium
Published
Jul 16, 2026
Updated
Jul 17, 2026
Reserved
Jun 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:HGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-122 Heap-based Buffer Overflow

Affected Products

ProductVersions
squidsquid-cache
  • < 7.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.