Resource exhaustion in minimatch - #VU168001
Published: November 19, 2026
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.