CVEfocus › CVE database › CVE-2026-50012

CVE-2026-50012Squid: Memory corruption in cache_digest reply handling

CVSS 5.5 MediumEPSS 2.7% (higher than 87% of CVEs)Published 2026-07-16Updated 2026-07-17Assigner: GitHub_M

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.

CWE-122CWE-20

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

9Fixed
13Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04squidFixed7.2-2ubuntu2.2UBUNTU-CVE-2026-50012
Ubuntu 25.10squidFixed6.14-0ubuntu0.25.10.4UBUNTU-CVE-2026-50012
Ubuntu 24.04squidFixed6.14-0ubuntu0.24.04.4UBUNTU-CVE-2026-50012
Ubuntu 22.04squidFixed5.9-0ubuntu0.22.04.7UBUNTU-CVE-2026-50012
Ubuntu 20.04squidFix pending4.10-1ubuntu1.13+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-50012
Ubuntu 18.04squid3Fix pending3.5.27-1ubuntu1.14+esm6 (Ubuntu Pro)UBUNTU-CVE-2026-50012
Ubuntu 16.04squid3Fix pending3.5.12-1ubuntu7.16+esm7 (Ubuntu Pro)UBUNTU-CVE-2026-50012
Debian 14squidFixed7.6-1DEBIAN-CVE-2026-50012
Debian 13squidFixed6.13-2+deb13u2DEBIAN-CVE-2026-50012
Debian 12squidFixed5.7-2+deb12u6DEBIAN-CVE-2026-50012
Red Hat Enterprise Linux 10squidFix pending
Fix deferred
Red Hat Enterprise Linux 9squidFix pending
Fix deferred
Red Hat Enterprise Linux 8libecapFix pending
Fix deferred
Red Hat Enterprise Linux 8libecap-develFix pending
Fix deferred
Red Hat Enterprise Linux 8squidFix pending
Fix deferred
Red Hat Enterprise Linux 7squidFix pending
Fix deferred
Red Hat Enterprise Linux 7squid-migration-scriptFix pending
Fix deferred
Red Hat Enterprise Linux 7squid-sysvinitFix pending
Fix deferred
Red Hat Enterprise Linux 6squidFix pending
Fix deferred
Red Hat Enterprise Linux 6squid34Fix pending
Fix deferred
Alpine Linux 3.24squidFixed7.6-r0ALPINE-CVE-2026-50012
Alpine Linux 3.23squidFixed7.6-r0ALPINE-CVE-2026-50012

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.