Improper Input Validation Affecting squid package, versions <5.7-2+deb12u6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
1.36% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-SQUID-18291736
  • published24 Jul 2026
  • disclosed16 Jul 2026

Introduced: 16 Jul 2026

NewCVE-2026-50012  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Echo:latest squid to version 5.7-2+deb12u6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid package and not the squid package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1