Vulnerability · Published Oct 29, 2026 · Assigned by GitHub_M
CVE-2026-118764minimatch: potential denial of service via globparts amplification
Medium 6.9
In plain English
A medium-severity security flaw in minimatch from isaacs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-minimatch | no fix listed | DEBIAN-CVE-2026-118764 |
| Debian:13 | node-minimatch | no fix listed | DEBIAN-CVE-2026-118764 |
| Debian:14 | node-minimatch | no fix listed | DEBIAN-CVE-2026-118764 |
| Ubuntu:22.04:LTS | node-minimatch | no fix listed | UBUNTU-CVE-2026-118764 |
| Ubuntu:24.04:LTS | node-minimatch | no fix listed | UBUNTU-CVE-2026-118764 |
| Ubuntu:26.04:LTS | node-minimatch | no fix listed | UBUNTU-CVE-2026-118764 |
| Ubuntu:26.10 | node-minimatch | no fix listed | UBUNTU-CVE-2026-118764 |
| npm | minimatch | 11.0.1 | GHSA-g3hv-75wg-m249 |
Affected products (as reported)
Weakness: CWE-405 · Vector: 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
References
- https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249 x_refsource_CONFIRM
- https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033 x_refsource_MISC
- https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8 x_refsource_MISC
- https://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da x_refsource_MISC
- https://github.com/isaacs/minimatch/releases/tag/v11.0.1 x_refsource_MISC