# CVE-2026-26996: minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-18T22:38:11.000Z
- Modified: 2026-09-10T03:50:33.812Z
- Also known as: GHSA-3ppc-4f35-3m26
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- isaacs minimatch: < 10.2.1
- minimatch (npm): from 10.0.0 before 10.2.1; from 9.0.0 before 9.0.6; from 8.0.0 before 8.0.5; from 7.0.0 before 7.4.7; from 6.0.0 before 6.2.1; from 5.0.0 before 5.1.7; from 4.0.0 before 4.2.4; before 3.1.3
- minimatch_project minimatch: from 3.0.0 before 3.1.3; from 4.0.0 before 4.2.4; from 5.0.0 before 5.1.7; from 6.0.0 before 6.2.1; from 7.0.0 before 7.4.7; from 8.0.0 before 8.0.5; from 9.0.0 before 9.0.6; from 10.0.0 before 10.2.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/isaacs/minimatch/security/advisories/GHSA-3ppc-4f35-3m26> (exploit, vendor-advisory, web)
- <https://github.com/isaacs/minimatch/commit/2e111f3a79abc00fa73110195de2c0f2351904f5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26996> (advisory)
- <https://github.com/isaacs/minimatch> (package)

## Sources

- CVE List: [CVE-2026-26996](https://www.cve.org/CVERecord?id=CVE-2026-26996), CVE Terms of Use, modified 2026-02-20
- GitHub Advisory Database: [GHSA-3ppc-4f35-3m26](https://github.com/advisories/GHSA-3ppc-4f35-3m26), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-26996](https://nvd.nist.gov/vuln/detail/CVE-2026-26996), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26996 · Whole record: https://cve.day/CVE-2026-26996.json · Rebuilt by cve.day 2026-11-25T22:59:14.324Z
