Skip to main content
← All vulnerabilities
CVE-2026-118764EUVD-2026-113273GHSA-G3HV-75WG-M249

minimatch: potential denial of service via globparts amplification

Published
Last modified
published
Not listed in CISA KEV
Unclear
Fix
Fixed in 11.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

The minimatch JavaScript library, a utility that converts glob patterns into regular expressions, is affected when it processes certain glob patterns at higher optimization levels. A specially crafted, short glob pattern can cause excessive CPU and memory use during compilation, which could make an application unresponsive.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • isaacs minimatch

    fixed in 11.0.1

References 3

GitHub · isaacs/minimatch

FAQ

Questions about CVE-2026-118764

What does this mean?

An attacker who can supply a glob pattern can make minimatch use excessive CPU and memory while compiling that pattern, which denies service to the program using it.Source: github.com

Am I affected, and how do I check?

The advisory names minimatch 10.2.6 as affected, and the problem only occurs when optimizationLevel is 2 or higher. To check, run npm ls minimatch to see the installed version and look for optimizationLevel set to 2 or higher in the code that calls minimatch.Source: github.com

What should I do about it?

Upgrade minimatch to version 11.0.1 or later, which is the listed patched version.Source: github.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data