VYPR
Medium severity5.5OSV Advisory· Published Jul 16, 2026· Updated Jul 20, 2026

CVE-2026-50012

CVE-2026-50012

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.

Affected products

3
  • Squid Cache/SquidOSV3 versions
    SQUID_7_5, SQUID_7_4, SQUID_7_3, …+ 2 more
    • (no CPE)range: SQUID_7_5, SQUID_7_4, SQUID_7_3, …
    • cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*range: <7.6
    • (no CPE)range: <7.6

Patches

Vulnerability mechanics

References

4

News mentions

1