CVE-2026-140008: high-severity vulnerability in isaacs minimatch
minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
41Vexday Risk Score
No sign of exploitation. It has a public proof of concept.
ssvc Attendcvss 8.7epss 0.8%
from disclosure to weapon3 days
Published on NVDNov 30
1st PoC+3d
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Affected products
isaacs · minimatchpublic PoCs found — 1
githubgithub.com/googlesky/CVE-2026-140008★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — isaacs minimatch
In the same product, most dangerous first.
CVE-2026-27903HIGHminimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segmentsEPSS 0.6%CVE-2026-141514LOWminimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher CacheEPSS 0.6%CVE-2026-26996HIGHminimatch has a ReDoS via repeated wildcards with non-matching literal in patternEPSS 0.6%CVE-2026-27904HIGHminimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressionsEPSS 0.5%CVE-2026-140007MEDIUMminimatch: Global pattern cache retains large expansions, enabling memory exhaustionEPSS 0.5%CVE-2026-140006MEDIUMminimatch: minimatch.escape() output matches more or less than the literal inputEPSS 0.4%