Resource exhaustion in minimatch - CVE-2026-118764

 

Resource exhaustion in minimatch - CVE-2026-118764

Published: November 9, 2026


Vulnerability identifier: #VU163170
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-118764
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows an attacker who can supply a glob pattern to cause denial of service through excessive CPU and memory consumption.

The vulnerability exists due to uncontrolled pattern amplification during minimatch preprocessing when optimizationLevel is set to 2 or higher. An attacker who can supply a glob pattern can submit crafted **/../ sequences that expand into numerous entries and trigger costly pairwise processing.


Affected software

minimatch

How to mitigate CVE-2026-118764

Install security update from vendor's website.

minimatch - update to 11.0.1

External References

Related Security Bulletins