Home / isaacs / minimatch / CVE-2026-140007
CVE-2026-140007: is it exploited, and which versions of isaacs minimatch are affected and fixed?
CVE-2026-140007 is a denial of service (uncontrolled resource consumption) vulnerability in isaacs minimatch. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: minimatch from 11.0.3 before 11.0.8 (GitHub advisory GHSA-hqmv-qgp3-jx75). Fixed in 11.0.8 (GitHub advisory GHSA-hqmv-qgp3-jx75). Severity: Medium (5.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record December 3, 2026, 16:03 UTC and NVD December 3, 2026, 17:13 UTC.
What is CVE-2026-140007?
minimatch: Global pattern cache retains large expansions, enabling memory exhaustion
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.
From the CVE record by GitHub_M, last updated December 3, 2026, 15:56 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| isaacs | minimatch | >= 11.0.3, < 11.0.8 |
As the CVE record by GitHub_M states it, last updated December 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | minimatch | >= 11.0.3, < 11.0.8 | 11.0.8 | GHSA-hqmv-qgp3-jx75 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 1, 2026. Summary: minimatch: Global pattern cache retains large expansions, enabling memory exhaustion.
How severe is CVE-2026-140007?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-140007 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, December 3, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
Where are the vendor advisories and references?
- https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75 x_refsource_CONFIRM
- https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- November 30, 2026, 21:35 UTC
- CVE record updated
- December 3, 2026, 15:56 UTC by GitHub_M
- NVD
- Received, last modified December 3, 2026, 16:18 UTC
- Last checked
- CVE list December 3, 2026, 16:03 UTC; NVD December 3, 2026, 17:13 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect minimatch?
- Dec 1, 2026CVE-2026-141514 isaacs minimatch: prototype pollution
- Nov 30, 2026CVE-2026-140008 isaacs minimatch: denial of service through slow algorithm
- Nov 30, 2026CVE-2026-140006 isaacs minimatch: improper output encoding
- Oct 29, 2026CVE-2026-118764 isaacs minimatch: asymmetric Resource Consumption (Amplification)
- Feb 26, 2026CVE-2026-27904 isaacs minimatch: regular expression denial of service (ReDoS)
- Feb 26, 2026CVE-2026-27903 isaacs minimatch: denial of service through slow algorithm
- Feb 20, 2026CVE-2026-26996 isaacs minimatch: regular expression denial of service (ReDoS)
Questions about CVE-2026-140007
Is CVE-2026-140007 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of isaacs minimatch are affected by CVE-2026-140007?
minimatch from 11.0.3 before 11.0.8, per the GitHub advisory GHSA-hqmv-qgp3-jx75. The tables above give every range the sources list.
Which version fixes CVE-2026-140007?
11.0.8, per the GitHub advisory GHSA-hqmv-qgp3-jx75. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-140007?
Medium (5.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-140007?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.