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

Published Jun 12, 2026
·
Updated

Last updated 7 August 2026

Other sources

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/peerdigest.cc), Squid is vulnerable to a heap-based buffer overflow: a cache digest's on-the-wire size may be larger than the masksize declared within the digest, so a trusted peer sending a maliciously crafted reply to a cachedigest request message can trigger the overflow. This attack is limited to Squid instances compiled with the --enable-cache-digests option and configured with cachepeer entries. This issue is fixed in version 7.6.

— MITRE

Squid: Memory corruption in cachedigest reply handling

— Microsoft

Affected Software

13 affected componentsFixes available
Squid Squid<7.6
Microsoft azl3 squid 6.13-4<6.13-5
6.13-5
Squid-Cache Squid<7.6
debian/squid<=5.7-2+deb12u5
4.13-10+deb11u75.7-2+deb12u66.13-2+deb13u27.6-1
ubuntu/squid3<3.5.12-1ubuntu7.16+esm7
3.5.12-1ubuntu7.16+esm7
ubuntu/squid3<3.5.27-1ubuntu1.14+esm6
3.5.27-1ubuntu1.14+esm6
ubuntu/squid<4.10-1ubuntu1.13+esm3
4.10-1ubuntu1.13+esm3
ubuntu/squid<5.9-0ubuntu0.22.04.7
5.9-0ubuntu0.22.04.7
ubuntu/squid<6.14-0ubuntu0.24.04.4
6.14-0ubuntu0.24.04.4
ubuntu/squid<6.14-0ubuntu0.25.10.4
6.14-0ubuntu0.25.10.4
ubuntu/squid<7.2-2ubuntu2.2
7.2-2ubuntu2.2
All of the following
azurelinux/squid<6.13-5
6.13-5
Microsoft Azure Linux=3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.13-5
  2. Upgrade

    Upgrade debian/squid to a version that resolves this vulnerability.

    Fixed in 4.13-10+deb11u7Fixed in 5.7-2+deb12u6Fixed in 6.13-2+deb13u2Fixed in 7.6-1
  3. Upgrade

    Upgrade ubuntu/squid3 to a version that resolves this vulnerability.

    Fixed in 3.5.12-1ubuntu7.16+esm7
  4. Upgrade

    Upgrade ubuntu/squid3 to a version that resolves this vulnerability.

    Fixed in 3.5.27-1ubuntu1.14+esm6
  5. Upgrade

    Upgrade ubuntu/squid to a version that resolves this vulnerability.

    Fixed in 4.10-1ubuntu1.13+esm3
  6. Upgrade

    Upgrade ubuntu/squid to a version that resolves this vulnerability.

    Fixed in 5.9-0ubuntu0.22.04.7
  7. Upgrade

    Upgrade ubuntu/squid to a version that resolves this vulnerability.

    Fixed in 6.14-0ubuntu0.24.04.4
  8. Upgrade

    Upgrade ubuntu/squid to a version that resolves this vulnerability.

    Fixed in 6.14-0ubuntu0.25.10.4
  9. Upgrade

    Upgrade ubuntu/squid to a version that resolves this vulnerability.

    Fixed in 7.2-2ubuntu2.2
  10. Upgrade

    Upgrade azurelinux/squid to a version that resolves this vulnerability.

    Fixed in 6.13-5
  11. Upgrade

    Upgrade Squid to a version that resolves this vulnerability.

    Fixed in 7.6

Event History

Jun 12, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Jun 22, 2026
News Published
via The Hacker News·04:29 PM
Jul 16, 2026
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jul 18, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
Affected Software
Jul 20, 2026
Data Sourced
via NVD·01:35 AM
RemedyAffected Software
Updated
via NVD·01:35 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-50012?

The severity of CVE-2026-50012 is classified as high due to its potential to allow unauthorized access.

2

How do I fix CVE-2026-50012?

To mitigate CVE-2026-50012, update your Squid installation to the latest version that includes the security patch.

3

What systems are affected by CVE-2026-50012?

CVE-2026-50012 affects all versions of Squid prior to the patched release.

4

What types of attacks can exploit CVE-2026-50012?

CVE-2026-50012 can be exploited to launch unauthorized actions against the Squid server due to improper access controls.

5

Is there a workaround for CVE-2026-50012 if I cannot update?

As a temporary workaround for CVE-2026-50012, you can restrict access by modifying the Squid configuration to limit user permissions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203