CVE-2026-118764

GHSA-g3hv-75wg-m249 · published 29 Oct 2026 · updated 4 Nov 2026

minimatch: potential denial of service via globparts amplification

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in minimatch 11.0.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
isaacs>=7.0.0 <11.0.1
npm: minimatch>=7.0.0 <11.0.111.0.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118764 severity on Zeptric[![CVE-2026-118764](https://zeptric.io/badge/cve/CVE-2026-118764.svg)](https://zeptric.io/cve/CVE-2026-118764)