Improper Input Validation Affecting squid package, versions <6.14-0ubuntu0.25.10.4


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2510-SQUID-17328552
  • published17 Jun 2026
  • disclosed16 Jul 2026

Introduced: 17 Jun 2026

CVE-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 Ubuntu:25.10 squid to version 6.14-0ubuntu0.25.10.4 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 Ubuntu. See How to fix? for Ubuntu:25.10 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