VDB

CVE-2026-50012

CVE-2026-50012 PUBLISHED CVSS 5.5 MEDIUM

Squid: Memory corruption in cache_digest reply handling

Reported by github_m · Published July 16, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
squidAmazon Linux7:6.13-1.amzn2023.0.5
squid-sysvinitAmazon Linux7:3.5.20-17.amzn2.7.27

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H

Affected products

VendorProductVersions
squid-cachesquid< 7.6
amazon:2023squid0
amazon:2squid-sysvinit0
squid-cachesquid0
alpinesquid0
amazon:2squid-migration-script0
amazon:2squid0

Timeline

  • Jun 12, 2026 CVE Published
  • Aug 7, 2026 EPSS Score (27 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-50012
vulnetix vdb fixes CVE-2026-50012

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-50012/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›