CVE-2026-140008
minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
Description
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.
INFO
Published Date :
Nov. 30, 2026, 9:36 p.m.
Last Modified :
Nov. 30, 2026, 9:36 p.m.
Remotely Exploit :
No
Source :
GitHub_M
Solution
- Update minimatch to version 11.0.7.
- Apply patches for version 11.0.7.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-140008 vulnerability anywhere in the article.