{"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-29T04:16:01.141523Z","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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26996.json","cna_assigner":"GitHub_M","unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"10.2.1"}]}],"cwe_ids":["CWE-1333"]},"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":"270dbea567f0af6918cb18103e98c612aa717a20"},{"fixed":"00c323b188b704e5d4bc534ecec2268cfa70a32a"},{"introduced":"26d281dc585af91df47cb93844e227e0ee90b7ce"},{"fixed":"63edb3d6d00eb57ee7fdea89740a90d2323d065f"},{"introduced":"fc44f5f9123f534ecbf76af65558eb87d90f1028"},{"fixed":"85646c8f2739fdb0bc3b744606117a9d63f97c74"},{"introduced":"31f61eeaa6c4493f81bf5eb0a146f23e538fdfd7"},{"fixed":"8ce798c2023dfda846bcd236b9121118d3278b73"},{"introduced":"ce9e6a4b42eb8a4c39eff1258affa9d37c66101b"},{"fixed":"926c3129f46c428fdf651bbe73ca906fe8b42307"},{"introduced":"5d20578d5749f53f3413b7ca413e5658d6ab0d05"},{"fixed":"f4ce011fce4be95c6af74182a772c92df83e6722"},{"introduced":"b95cb1e4404ce374e447b3b1bfde837e74f139bd"},{"fixed":"7117ef381e74deace1c62a74d2298c8fe61d10ca"},{"introduced":"346685ced5203464bb10fd3d4dfa6964f6102ede"},{"fixed":"6d7ac34de6979f0b028b34fecd40349cd4dde186"},{"fixed":"2e111f3a79abc00fa73110195de2c0f2351904f5"}],"database_specific":{"versions":[{"introduced":"3.0.0"},{"fixed":"3.1.3"},{"introduced":"4.0.0"},{"fixed":"4.2.4"},{"introduced":"5.0.0"},{"fixed":"5.1.7"},{"introduced":"6.0.0"},{"fixed":"6.2.1"},{"introduced":"7.0.0"},{"fixed":"7.4.7"},{"introduced":"8.0.0"},{"fixed":"8.0.5"},{"introduced":"9.0.0"},{"fixed":"9.0.6"},{"introduced":"10.0.0"},{"fixed":"10.2.1"}]}}],"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","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.0.6","v3.1.0","v3.1.1","v3.1.2","v4.0.0","v4.1.0","v4.1.1","v4.2.0","v4.2.1","v4.2.2","v4.2.3","v5.0.0","v5.0.1","v5.1.0","v5.1.1","v5.1.2","v5.1.3","v5.1.5","v5.1.6","v6.0.0","v6.0.1","v6.0.2","v6.0.3","v6.0.4","v6.1.0","v6.1.1","v6.1.10","v6.1.2","v6.1.3","v6.1.4","v6.1.5","v6.1.6","v6.1.7","v6.1.8","v6.1.9","v6.2.0","v7.0.0","v7.0.1","v7.1.0","v7.1.1","v7.1.2","v7.1.3","v7.1.4","v7.2.0","v7.3.0","v7.4.0","v7.4.1","v7.4.2","v7.4.3","v7.4.4","v7.4.5","v7.4.6","v8.0.0","v8.0.1","v8.0.2","v8.0.3","v8.0.4","v9.0.0","v9.0.1","v9.0.2","v9.0.3","v9.0.4","v9.0.5"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-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"}]}