CVE-2016-10540
HIGH 7.5CVSS 3.0Regular Expression Denial of Service in minimatch
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.
- Published
- 31 May 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-hxm2-r34f-qmc5
- Sources
- NVDJSONOSV GHSA-hxm2-r34f-qmc5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | minimatch_project | minimatchcpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:* |
<= 3.0.1 | |
| OSV | npm | minimatch | < 3.0.2 | 3.0.2 |
References
- https://nodesecurity.io/advisories/118 · Exploit, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2016-10540 · ADVISORY
- https://github.com/advisories/GHSA-hxm2-r34f-qmc5 · ADVISORY
- https://www.npmjs.com/advisories/118 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Oct 2018)