{"id":"CVE-2026-26996","published":"2026-02-20T03:05:21Z","modified":"2026-02-20T15:34:15Z","title":"minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern","vendor":"isaacs","product":"minimatch","tier":"tail","description":{"text":"minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions 10.2.0 and below are vulnerable to Regular Expression Denial of Service (ReDoS) when a glob pattern contains many consecutive * wildcards followed by a literal character that doesn't appear in the test string. Each * compiles to a separate [^/]*? regex group, and when the match fails, V8's regex engine backtracks exponentially across all possible splits. The time complexity is O(4^N) where N is the number of * characters. With N=15, a single minimatch() call takes ~2 seconds. With N=34, it hangs effectively forever. Any application that passes user-controlled strings to minimatch() as the pattern argument is vulnerable to DoS. This issue has been fixed in version 10.2.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00638,"percentile":0.45118,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":9.02},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"minimatch","versions":["< 10.2.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-20T15:31:36.544113Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"minimatch","vulnerableRanges":[">=10.0.0, <10.2.1",">=9.0.0, <9.0.6",">=8.0.0, <8.0.5",">=7.0.0, <7.4.7",">=6.0.0, <6.2.1",">=5.0.0, <5.1.7",">=4.0.0, <4.2.4","<3.1.3"],"patched":["10.2.1","9.0.6","8.0.5","7.4.7","6.2.1","5.1.7","4.2.4","3.1.3"],"from":["GHSA-3ppc-4f35-3m26"],"provenance":"source"}],"summary":{"text":"The minimatch glob-to-RegExp utility (versions 10.2.0 and below) contains a regular expression denial-of-service flaw triggered when a glob pattern has many consecutive * wildcards followed by a literal character absent from the tested string, causing exponential backtracking in V8's regex engine. An attacker who can supply the pattern argument to minimatch() in an application that passes user-controlled input to it can exhaust CPU and stall the process, with no authentication or user interaction required; the flaw is fixed in version 10.2.1.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:09Z"},"euvd":{"id":"EUVD-2026-8032","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-isaacs-minimatch-cve-2026-26996","children":[{"from":"CVE-2026-26996","to":"CVE-2026-27903","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:minimatch","fromFixed":"10.2.1","toFixed":"10.2.3","daysApart":6},{"kind":"version-step","provenance":"source","package":"npm:minimatch","fromFixed":"9.0.6","toFixed":"9.0.7","daysApart":6},{"kind":"same-code","provenance":"machine","files":["src/index.ts"],"commits":["https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5","https://github.com/isaacs/minimatch/commit/0bf499aa45f5059b56809cc3b75ff3eafeb8d748"],"basis":"shared function","functions":["Minimatch"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + description similarity"}]},{"from":"CVE-2026-26996","to":"CVE-2026-27904","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:minimatch","fromFixed":"10.2.1","toFixed":"10.2.3","daysApart":6},{"kind":"version-step","provenance":"source","package":"npm:minimatch","fromFixed":"9.0.6","toFixed":"9.0.7","daysApart":6},{"kind":"same-code","provenance":"machine","files":["src/ast.ts","src/index.ts"],"commits":["https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5","https://github.com/isaacs/minimatch/commit/11d0df6165d15a955462316b26d52e5efae06fce"],"basis":"shared function","functions":["AST"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2026-26996","to":"CVE-2026-118764","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/index.ts"],"commits":["https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033","https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8","https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5"],"basis":"shared function","functions":["Minimatch"]}]}],"packageHistory":[{"cve":"CVE-2016-10540","published":"2018-05-31","fixed":"3.0.2","kev":false},{"cve":"CVE-2022-3517","published":"2022-10-17","fixed":"3.0.5","kev":false},{"cve":"CVE-2026-26996","published":"2026-02-20","fixed":"10.2.1","kev":false},{"cve":"CVE-2026-27903","published":"2026-02-26","fixed":"10.2.3","kev":false},{"cve":"CVE-2026-27904","published":"2026-02-26","fixed":"10.2.3","kev":false},{"cve":"CVE-2026-118764","published":"2026-10-29","fixed":"11.0.1","kev":false}],"package":"npm:minimatch"}}