CVE-2026-118764
minimatch: potential denial of service via globparts amplification
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
6.9
minimatch: potential denial of service via globparts amplification
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.
- Record
CVE-2026-118764- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-405
- Updated
- 2026-11-03
EUVDEUVD-2026-113273
6.9
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.
- Record
EUVD-2026-113273- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-g3hv-75wg-m249
6.9
minimatch has potential denial of service via globparts amplification
minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.
researcher: Reid Downing (b1nv0id) files:
- src/index.ts: 690-770
- src/index.ts: 780-796
issue: input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.
the **/../ transformation clones a globparts entry and appends the clone to the same globparts array:
parts.splice(gs, 1)
const other = parts.slice(0)
other[gs] = '**'
globParts.push(other)
this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.
the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons:
for (let i = 0; i < globParts.length - 1; i++) {
for (let j = i + 1; j < globParts.length; j++) {
this.partsMatch(...)
}
}
an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.
- Record
GHSA-g3hv-75wg-m249- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-405
- Updated
- 2026-11-04
NVD
6.9
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.
- Record
CVE-2026-118764- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-405
- Updated
- 2026-11-03
OSV
6.9
minimatch: potential denial of service via globparts amplification
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.
- Record
CVE-2026-118764- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-405
- Updated
- 2026-11-07
OSVDEBIAN-CVE-2026-118764
6.9
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.
- Record
DEBIAN-CVE-2026-118764- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-04
Show 8 moreShow less
OSVGHSA-g3hv-75wg-m249
6.9
minimatch has potential denial of service via globparts amplification
minimatch 10.2.6 contains an attacker-controlled pattern amplification in firstPhasePreProcess() when optimizationLevel >= 2.
researcher: Reid Downing (b1nv0id) files:
- src/index.ts: 690-770
- src/index.ts: 780-796
issue: input-controlled growth of globParts during first-phase preprocessing, followed by quadratic second-phase processing.
the **/../ transformation clones a globparts entry and appends the clone to the same globparts array:
parts.splice(gs, 1)
const other = parts.slice(0)
other[gs] = '**'
globParts.push(other)
this occurs inside a do...while (didSomething) fixpoint loop, allowing generated entries to be processed again.
the expanded globparts array is subsequently processed by secondPhasePreProcess(), which performs pairwise comparisons:
for (let i = 0; i < globParts.length - 1; i++) {
for (let j = i + 1; j < globParts.length; j++) {
this.partsMatch(...)
}
}
an attacker who can supply a glob pattern can therefore cause additional pattern entries to be generated during preprocessing, followed by quadratic pairwise processing, resulting in excessive cpu and memory consumption.
- Record
GHSA-g3hv-75wg-m249- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Weakness
- CWE-405
- Updated
- 2026-11-04
OSVUBUNTU-CVE-2026-118764
6.9
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.
- Record
UBUNTU-CVE-2026-118764- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N - Updated
- 2026-11-05
OSVCLSA-2026-1793794562 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 10.2.6-tuxcare.1.
- Record
CLSA-2026-1793794562- Updated
- 2026-11-04
OSVCLSA-2026-1793805803 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 10.2.5-tuxcare.1.
- Record
CLSA-2026-1793805803- Updated
- 2026-11-04
OSVCLSA-2026-1793808884 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 10.2.4-tuxcare.1.
- Record
CLSA-2026-1793808884- Updated
- 2026-11-04
OSVCLSA-2026-1793814019 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 10.2.3-tuxcare.1.
- Record
CLSA-2026-1793814019- Updated
- 2026-11-05
OSVCLSA-2026-1793828860 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 10.2.2-tuxcare.3.
- Record
CLSA-2026-1793828860- Updated
- 2026-11-05
OSVCLSA-2026-1794048506 No score
TuxCare security update for minimatch (1 CVE)
TuxCare rebuilt minimatch to address 1 CVE. Fixed in 9.0.9-tuxcare.1.
- Record
CLSA-2026-1794048506- Updated
- 2026-11-07
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
minimatchnpm |
7.0.0 up to 11.0.1 | 11.0.1 |
minimatchTuxCare:npm |
10.2.6-tuxcare.0 up to 10.2.6-tuxcare.1, plus listed versions 10.2.6 |
10.2.6-tuxcare.1 |
minimatchTuxCare:npm |
10.2.5-tuxcare.0 up to 10.2.5-tuxcare.1, plus listed versions 10.2.5 |
10.2.5-tuxcare.1 |
minimatchTuxCare:npm |
10.2.4-tuxcare.0 up to 10.2.4-tuxcare.1, plus listed versions 10.2.4 |
10.2.4-tuxcare.1 |
minimatchTuxCare:npm |
10.2.3-tuxcare.0 up to 10.2.3-tuxcare.1, plus listed versions 10.2.3 |
10.2.3-tuxcare.1 |
minimatchTuxCare:npm |
10.2.2-tuxcare.0 up to 10.2.2-tuxcare.3, plus listed versions 10.2.210.2.2-tuxcare.110.2.2-tuxcare.2 |
10.2.2-tuxcare.3 |
minimatchTuxCare:npm |
9.0.9-tuxcare.0 up to 9.0.9-tuxcare.1, plus listed versions 9.0.9 |
9.0.9-tuxcare.1 |
node-minimatchDebian:12 |
All versions, plus listed versions 5.1.1+~5.1.2-19.0.3-19.0.3-29.0.3-39.0.3-4 Show 4 moreShow less9.0.3-59.0.3-69.0.7-19.0.7-2 |
None known |
node-minimatchDebian:13 |
All versions, plus listed versions 9.0.3-69.0.7-19.0.7-2 |
None known |
node-minimatchDebian:14 |
All versions, plus listed versions 9.0.3-69.0.7-19.0.7-2 |
None known |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
node-minimatchUbuntu:Pro:14.04:LTS |
All versions, plus listed versions 0.2.11-10.2.12-10.2.12-1ubuntu0.1~esm2 |
None known |
node-minimatchUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 1.0.0-11.0.0-1ubuntu0.1~esm2 |
None known |
node-minimatchUbuntu:18.04:LTS |
All versions, plus listed versions 3.0.4-13.0.4-33.0.4-3+deb10u1build0.18.04.1 |
None known |
node-minimatchUbuntu:20.04:LTS |
All versions, plus listed versions 3.0.4-33.0.4-43.0.4-4ubuntu0.1 |
None known |
node-minimatchUbuntu:22.04:LTS |
All versions, plus listed versions 3.0.4+~3.0.3-13.0.4+~3.0.5-13.1.1+~3.0.5-1 |
None known |
node-minimatchUbuntu:24.04:LTS |
All versions, plus listed versions 5.1.1+~5.1.2-19.0.3-4build5 |
None known |
node-minimatchUbuntu:26.10 |
All versions, plus listed versions 9.0.3-69.0.7-1 |
None known |
node-minimatchUbuntu:26.04:LTS |
All versions, plus listed versions 9.0.3-6 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases | OSV | |
| affected, aliases | OSV | |
| affected, aliases | OSV | |
| affected, references | OSV | |
| affected | GitHub Advisories | |
| affected, aliases | OSV | |
| references | CVE List, EUVD, NVD, OSV | |
| description, facts, references | CVE List | |
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-118764 is a medium vulnerability (CVSS 6.9) in Isaacs Minimatch, published October 29, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.30%, the 23rd percentile. Fixed in minimatch 11.0.1.
References
github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033
github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da
github.com/isaacs/minimatch/releases/tag/v11.0.1
nvd.nist.gov/vuln/detail/CVE-2026-118764