{"id":"CVE-2026-26996","summary":"minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern","details":"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.","aliases":["GHSA-3ppc-4f35-3m26"],"modified":"2026-04-28T18:29:25.633344967Z","published":"2026-02-20T03:05:21.105Z","related":["ALSA-2026:7080","ALSA-2026:7123","ALSA-2026:7350","ALSA-2026:7670","ALSA-2026:7675","ALSA-2026:7896","ALSA-2026:8339","CGA-4mrr-cgvh-9w95","SUSE-SU-2026:1232-1","SUSE-SU-2026:1249-1","SUSE-SU-2026:1250-1","SUSE-SU-2026:1251-1","SUSE-SU-2026:20967-1","SUSE-SU-2026:20973-1","SUSE-SU-2026:20997-1","SUSE-SU-2026:21022-1","SUSE-SU-2026:21023-1","SUSE-SU-2026:21024-1","SUSE-SU-2026:21111-1","SUSE-SU-2026:21141-1","SUSE-SU-2026:21166-1","SUSE-SU-2026:21167-1","SUSE-SU-2026:21168-1","SUSE-SU-2026:21191-1","SUSE-SU-2026:21241-1","SUSE-SU-2026:21245-1","SUSE-SU-2026:21246-1","SUSE-SU-2026:21253-1","SUSE-SU-2026:21256-1","SUSE-SU-2026:21321-1","openSUSE-SU-2026:20464-1","openSUSE-SU-2026:20469-1","openSUSE-SU-2026:20502-1","openSUSE-SU-2026:20503-1","openSUSE-SU-2026:20504-1","openSUSE-SU-2026:20532-1"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26996.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26996.json"},{"type":"ADVISORY","url":"https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26996"},{"type":"FIX","url":"https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/isaacs/minimatch","events":[{"introduced":"346685ced5203464bb10fd3d4dfa6964f6102ede"},{"fixed":"6d7ac34de6979f0b028b34fecd40349cd4dde186"}]}],"versions":["v10.0.0","v10.0.1","v10.0.2","v10.0.3","v10.1.0","v10.1.1","v10.1.2","v10.1.3","v10.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26996.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}