CVE-2026-140007: minimatch: Global pattern cache retains large expansions, enabling memory exhaustion
Vulnerability summary
CVE-2026-140007 is a medium (CVSS 5.9) Uncontrolled Resource Consumption vulnerability in isaacs minimatch. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 55.4% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 30-11-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
Description
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard14 products
- actions-runnerAll versions (No fix recorded)
- authentik-fips-2026.5< 2026.5.9-r4
- bash-language-serverAll versions (No fix recorded) | < 5.8.1-r3
- codeceptjs-codeceptjsAll versions (No fix recorded) | < 4.2.7-r1
- dotstatsuite-supercoreAll versions (No fix recorded) | < 3.1.0_git20261022-r10
Wolfi3 products
- npm-12All versions (No fix recorded)
- ts-patchAll versions (No fix recorded)
- vitess-24All versions (No fix recorded) | < 24.0.5-r18
Debian1 product
- node-minimatchAll versions (No fix recorded)
Isaacs1 product
- minimatch≥ 11.0.3, < 11.0.8
Npm1 product
- minimatch≥ 11.0.3, < 11.0.8
Ubuntu1 product
- node-minimatchAll versions (No fix recorded)
6 vendors · 21 products
References
8 links- github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75X Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/minimatchPACKAGE