CVE Catalog

CVE-2026-50012

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
2.25%

81th percentile - higher than 81% of all known CVEs

Summary

Squid versions prior to 7.6 contain a heap-based buffer overflow vulnerability in cache digest reply handling. The flaw is due to improper input validation of the on-the-wire size of a cache digest, which may exceed the declared mask_size.

Risk Assessment

A trusted peer can send a maliciously crafted cache digest reply, triggering a heap buffer overflow that may cause a crash or potentially arbitrary code execution. This vulnerability only affects Squid instances compiled with --enable-cache-digests and configured with cache_peer entries.

Recommendation

Upgrade Squid to version 7.6 or later immediately. If upgrading is not possible, consider disabling the --enable-cache-digests option or restricting trusted peers.

Other vulnerabilities in Squid

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS