minimatch

a glob matcher in javascript

11.0.10Latest, 30 Nov 2026
4.3BDownloads, last month
0Advisories on the latest
9Advisories, all versions
BlueOak-1.0.0Licence
3.5KStars
5.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate minimatch: minimatch.escape() output matches more or less than the literal input CVE-2026-140006 Fixed in 11.0.8 1 Dec 2026
High minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`) CVE-2026-140008 Fixed in 11.0.7 1 Dec 2026
Moderate minimatch: Global pattern cache retains large expansions, enabling memory exhaustion CVE-2026-140007 Fixed in 11.0.8 1 Dec 2026
Moderate minimatch has potential denial of service via globparts amplification CVE-2026-118764 Fixed in 11.0.1 30 Oct 2026
High minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions CVE-2026-27904 Fixed in 5.1.8, 4.2.5, 3.1.4 26 Feb 2026
High minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments CVE-2026-27903 Fixed in 5.1.8, 4.2.5, 3.1.3 26 Feb 2026
High minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern CVE-2026-26996 Fixed in 5.1.7, 4.2.4, 3.1.3 18 Feb 2026
High minimatch ReDoS vulnerability CVE-2022-3517 Fixed in 3.0.5 18 Oct 2022
High Regular Expression Denial of Service in minimatch CVE-2016-10540 Fixed in 3.0.2 9 Oct 2018

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.