Resource exhaustion in minimatch - #VU168001

 

Resource exhaustion in minimatch - #VU168001

Published: November 19, 2026


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

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by exhausting the memory of an application that accepts untrusted glob patterns.

The vulnerability exists due to a missing memory limit in the global compiled-pattern cache when the top-level minimatch() function caches expanded glob patterns, because the cache limits only the number of entries. A remote attacker can submit glob patterns to an application that passes them to this function to exhaust process memory and crash the application.


Affected software

minimatch

Remediation

Install security update from vendor's website.

minimatch - update to 11.0.8

External References

Related Security Bulletins