KeygraphLabs · CVE MCP

CVE-2016-10540 · hackerone

CVE-2016-10540

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 2018-05-31, last changed 2026-06-17. Weakness: CWE-400, CWE-20.

CVSS
7.5
high, from NVD
EPSS
1.47%
percentile 74.8%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: minimatch 3.0.2 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Timeline

2018-05-31Published
2018-10-09Package advisory GHSA-hxm2-r34f-qmc5
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.47%

Affected packages

AdvisoryPackageFixed in
GHSA-hxm2-r34f-qmc5minimatch (npm)3.0.2

Also known as: GHSA-hxm2-r34f-qmc5

Related

CVEPublishedCVSSSummary
CVE-2026-1415142026-12-013.7minimatch: Proto Key Bypasses Cache-Key Weighting in minimatch's Shared Matcher Cache
CVE-2026-1400082026-11-308.7minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)
CVE-2026-1400072026-11-305.9minimatch: Global pattern cache retains large expansions, enabling memory exhaustion
CVE-2026-1400062026-11-305.4minimatch: minimatch.escape() output matches more or less than the literal input
CVE-2026-1187642026-10-296.9minimatch: potential denial of service via globparts amplification
CVE-2026-279042026-02-267.5minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
CVE-2026-279032026-02-267.5minimatch has a ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
CVE-2026-269962026-02-207.5minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-10540, or call /api/v1/vulnerabilities/CVE-2016-10540. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org