{"cve":"CVE-2026-26996","nvd":{"published":"2026-02-20T03:16:01.620","modified":"2026-06-17T10:26:30.527","status":"Analyzed","description":"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.","cvss_v4":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5","https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26"],"products":["minimatch_project:minimatch"],"source":"nvd","synced_at":"2026-10-19T22:23:35.260773158+00:00"},"epss":{"cve":"CVE-2026-26996","score":0.00577,"percentile":0.47571,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-3ppc-4f35-3m26","url":"https://osv.dev/vulnerability/GHSA-3ppc-4f35-3m26","summary":"minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern","modified":"2026-09-10T03:50:33.812431744Z","packages":[{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=10.0.0 <10.2.1"],"fixed":["10.2.1"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=9.0.0 <9.0.6"],"fixed":["9.0.6"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=8.0.0 <8.0.5"],"fixed":["8.0.5"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=7.0.0 <7.4.7"],"fixed":["7.4.7"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=6.0.0 <6.2.1"],"fixed":["6.2.1"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=5.0.0 <5.1.7"],"fixed":["5.1.7"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":[">=4.0.0 <4.2.4"],"fixed":["4.2.4"]},{"ecosystem":"npm","name":"minimatch","purl":"pkg:npm/minimatch","ranges":["<3.1.3"],"fixed":["3.1.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}