cve.bz

CVE-2016-10540 minimatch project minimatch: Uncontrolled Resource Consumption

7.5 highExploit referenceEPSS 1.5%Fix available

High (7.5) in minimatch project minimatch. EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in minimatch 3.0.2.

On this page
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.

Severity

CVSS 3.0

7.5 high
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.5% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-400 Uncontrolled Resource Consumption
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-10540 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-10540?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-10540?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-10540 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
minimatch_project:minimatchthrough 3.0.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hxm2-r34f-qmc5npmminimatch<3.0.23.0.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-minimatch3.0.3-1DEBIAN-CVE-2016-10540
UbuntuPro:14.04:LTSnode-minimatch0.2.12-1ubuntu0.1~esm2UBUNTU-CVE-2016-10540 USN-4783-1
UbuntuPro:16.04:LTSnode-minimatch1.0.0-1ubuntu0.1~esm2UBUNTU-CVE-2016-10540 USN-4783-1
Azure Linux3js-jqueryno fix listedAZL-44502

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON