# CVE-2016-10540

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2018-05-31 · Modified: 2024-09-16
- Aliases: UBUNTU-CVE-2016-10540, USN-4783-1, DEBIAN-CVE-2016-10540, GHSA-hxm2-r34f-qmc5
- Record: https://cvemate.com/vulnerability/CVE-2016-10540 · JSON: https://cvemate.com/vulnerability/CVE-2016-10540/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.474%, percentile 74.714%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- debian node-minimatch (Debian): \< 3.0.3-1
- ubuntu node-minimatch (Ubuntu): \< 0.2.12-1ubuntu0.1~esm2 \| \< 1.0.0-1ubuntu0.1~esm2
- hackerone minimatch node module: ≤ 3.0.1
- minimatch\_project minimatch: ≤ 3.0.1
- Npm minimatch (Npm): \< 3.0.2

## References

- <https://nodesecurity.io/advisories/118>
- <https://ubuntu.com/security/CVE-2016-10540>
- <https://www.cve.org/CVERecord?id=CVE-2016-10540>
- <https://ubuntu.com/security/notices/USN-4783-1>
- <https://security-tracker.debian.org/tracker/CVE-2016-10540>
- <https://nvd.nist.gov/vuln/detail/CVE-2016-10540>
- <https://github.com/advisories/GHSA-hxm2-r34f-qmc5>
- <https://www.npmjs.com/advisories/118>

---

Data as of 2026-12-05T14:00:55.414Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
