Heap-based Buffer Overflow Affecting squid-debugsource package, versions <7:6.13-1.amzn2023.0.5


Severity

Recommended
high

Based on Amazon Linux 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-AMZN2023-SQUIDDEBUGSOURCE-17414477
  • published23 Jun 2026
  • disclosed16 Jul 2026

Introduced: 23 Jun 2026

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

How to fix?

Upgrade Amazon-Linux:2023 squid-debugsource to version 7:6.13-1.amzn2023.0.5 or higher.
This issue was patched in ALAS2023-2026-1858.

NVD Description

Note: Versions mentioned in the description apply only to the upstream squid-debugsource package and not the squid-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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