Asymmetric Resource Consumption (Amplification) Affecting saf package, versions <1.7.0-r6


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.3% (23rd 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-CHAINGUARDLATEST-SAF-22151195
  • published3 Nov 2026
  • disclosed29 Oct 2026

Introduced: 29 Oct 2026

NewCVE-2026-118764  (opens in a new tab)
CWE-405  (opens in a new tab)

How to fix?

Upgrade Chainguard saf to version 1.7.0-r6 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream saf package and not the saf package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.

CVSS Base Scores

version 3.1