Heap-based Buffer Overflow Affecting squid-migration-script package, versions <7:3.5.20-17.amzn2.7.27


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.36% (72nd 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-AMZN2-SQUIDMIGRATIONSCRIPT-17406651
  • 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:2 squid-migration-script to version 7:3.5.20-17.amzn2.7.27 or higher.
This issue was patched in ALAS2-2026-3371.

NVD Description

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