CVE-2026-27904
minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
CVSS v3
7.5
HIGH
EPSS Score
0.5 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
poc
SSVC status
Get an alert for each new CVE published for minimatch.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- minimatchnpmall versions · fixed in 3.1.4
- nodejsAlmaLinux:9all versions · fixed in 1:20.20.2-1.module_el9.7.0+226+88d36870and 2 other packages
- nodejsAlmaLinux:8all versions · fixed in 1:20.20.2-1.module_el8.10.0+4165+3f200bdaand 3 other packages
- nodejs-docsAlmaLinux:10all versions · fixed in 1:22.22.2-1.el10_1
- nodejs-docsAlmaLinux:9all versions · fixed in 1:20.20.2-1.module_el9.7.0+224+0af7cc6b
- nodejs-libsAlmaLinux:8all versions · fixed in 1:22.22.2-1.module_el8.10.0+4158+e796f37f
- nodejs-nodemonAlmaLinux:9all versions · fixed in 3.0.1-1.module_el9.5.0+125+8dc38870
- nodejs-nodemonAlmaLinux:8all versions · fixed in 3.0.1-1.module_el8.10.0+3982+85c136aa
5 more package ranges on OSV.dev
Vendor advisories
minimatch: Minimatch: Denial of Service via catastrophic backtracking in glob expressions
openshift-logging/cluster-logging-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/cluster-logging-rhel9-operator as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/elasticsearch-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.28 security, enhancement & bug fix update
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.16.36 security, enhancement & bug fix update
Red Hat Security Advisory: RHOAI 2.25.11 - Red Hat OpenShift AI
Red Hat Security Advisory: General availability of the satellite/iop-host-inventory-frontend-rhel9 container image
Red Hat Security Advisory: Migration Toolkit for Applications
29 more advisories
Description
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4, nested `*()` extglobs produce regexps with nested unbounded quantifiers (e.g. `(?:(?:a|b)*)*`), which exhibit catastrophic backtracking in V8. With a 12-byte pattern `*(*(*(a|b)))` and an 18-byte non-matching input, `minimatch()` stalls for over 7 seconds. Adding a single nesting level or a few input characters pushes this to minutes. This is the most severe finding: it is triggered by the default `minimatch()` API with no special options, and the minimum viable pattern is only 12 bytes. The same issue affects `+()` extglobs equally. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.4 fix the issue.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-02-26
- Last Modified
- 2026-02-27
Frequently asked questions
What is CVE-2026-27904?
Is CVE-2026-27904 actively exploited?
What is the CVSS score for CVE-2026-27904?
Running minimatch? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.