CVE-2026-118764
minimatch: potential denial of service via globparts amplification
CVSS Score
0.0
EPSS Score
0.3%
EPSS Percentile
22th
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.
| CWE | CWE-405 |
| Vendor | isaacs |
| Product | minimatch |
| Published | Oct 29, 2026 |
| Last Updated | Nov 3, 2026 |
Stay Ahead of the Next One
Get instant alerts for isaacs minimatch
Be the first to know when new unknown vulnerabilities affecting isaacs minimatch are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
isaacs / minimatch
>= 7.0.0, < 11.0.1
References
github.com: https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249 github.com: https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033 github.com: https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8 github.com: https://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da github.com: https://github.com/isaacs/minimatch/releases/tag/v11.0.1