CVE-2016-10540: Minimatch - Regular Expression Denial of Service
- Cve: CVE-2016-10540
- Name: Minimatch - Regular Expression Denial of Service
- Description: Minimatch is a minimal matching utility that works by converting glob expressions into JavaScript `RegExp` objects. The primary function, `minimatch(path, pattern)` in Minimatch 3.0.1 and earlier is vulnerable to ReDoS in the `pattern` parameter.
- Impact: Attackers can cause denial of service by triggering excessive regex processing with crafted patterns.
- Remediation: Update to the latest version of Minimatch that addresses the vulnerability.
- Vulnerability type: regular_expression_dos
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01474
- Epss percentile: 0.74499
- Assignee: [email protected]
- Published at: 2018-05-31T20:29:01Z
- Age in days: 3099
- Modified at: 2026-06-17T00:39:54Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2016-10540
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
| CWE-20 | Improper Input Validation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://nodesecurity.io/advisories/118 | nvd | 2018-05-31 |
References
| Url | Source | Tags |
|---|---|---|
| https://nodesecurity.io/advisories/118 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| minimatch_project:minimatch | <= 3.0.1 | no | nvd | /v1/products/minimatch_project/minimatch |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| isaacs/minimatch | product | yes | /v1/repositories/isaacs/minimatch |
Index
- Repositories: 42
- Repositories high signal: 10
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2018-05-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts