CVE-2026-26996
February 20, 2026
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Versions prior to 10.2.1, 3.1.3, 4.2.4, 5.1.7, 6.2.1, 7.4.7, 8.0.5, and 9.0.6 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 versions 10.2.1, 3.1.3, 4.2.4, 5.1.7, 6.2.1, 7.4.7, 8.0.5, and 9.0.6.
Affected Packages
https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v0.0.1 <v3.1.3Fix Suggestion:
Update to version v3.1.3https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v6.0.0 <v6.2.1Fix Suggestion:
Update to version v6.2.1https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v7.0.0 <v7.4.7Fix Suggestion:
Update to version v7.4.7https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v9.0.0 <v9.0.6Fix Suggestion:
Update to version v9.0.6https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v10.0.0 <v10.2.1Fix Suggestion:
Update to version v10.2.1https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.1.7Fix Suggestion:
Update to version v5.1.7https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.5Fix Suggestion:
Update to version v8.0.5https://github.com/isaacs/minimatch.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.2.4Fix Suggestion:
Update to version v4.2.4minimatch (NPM):
Affected version(s) >=5.0.0 <5.1.7Fix Suggestion:
Update to version 5.1.7minimatch (NPM):
Affected version(s) >=9.0.0 <9.0.6Fix Suggestion:
Update to version 9.0.6minimatch (NPM):
Affected version(s) >=7.0.0 <7.4.7Fix Suggestion:
Update to version 7.4.7minimatch (NPM):
Affected version(s) >=8.0.0 <8.0.5Fix Suggestion:
Update to version 8.0.5minimatch (NPM):
Affected version(s) >=10.0.0 <10.2.1Fix Suggestion:
Update to version 10.2.1minimatch (NPM):
Affected version(s) >=0.0.1 <3.1.3Fix Suggestion:
Update to version 3.1.3minimatch (NPM):
Affected version(s) >=4.0.0 <4.2.4Fix Suggestion:
Update to version 4.2.4minimatch (NPM):
Affected version(s) >=6.0.0 <6.2.1Fix Suggestion:
Update to version 6.2.1Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Regular Expression Complexity
EPSS
Base Score:
0.04