CVE-2016-10540
Regular Expression Denial of Service in minimatch
Reported by hackerone · Published May 31, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| minimatch | minimatch_project | 3.0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HackerOne | minimatch node module | <=3.0.1 |
| HackerOne | minimatch node module | 0 |
| npm | minimatch | 0 |
| minimatch_project | minimatch |
Timeline
- May 31, 2018 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 16, 2024 CVE Updated
- Mar 5, 2026 Distribution Patch (13 in total, the first dated here)
- Mar 5, 2026 Security Advisory (14 in total, the first dated here)
- Oct 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-10540
vulnetix vdb fixes CVE-2016-10540
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-10540/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2016-10540 advisory