VDB

CVE-2016-10540

CVE-2016-10540 PUBLISHED CVSS 7.5 HIGH

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.

PackageEcosystemFixed in
minimatchminimatch_project3.0.1

Risk scores

CVSS 3.0
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
HackerOneminimatch node module<=3.0.1
HackerOneminimatch node module0
npmminimatch0
minimatch_projectminimatch

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›