Live threats

All CVEs / Minimatch Project

CVE-2016-10540Minimatch Project Minimatch

High 7.5 No auth needed

Priority
60
CVSS 3.0
7.5
EPSS
1.5%
probability of exploitation in 30 days · percentile 74
Auth required
No
Published
May 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-20
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Minimatch.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm minimatch < 3.0.2 3.0.2 npm install minimatch@3.0.2

Per OSV / GitHub Advisories (GHSA-hxm2-r34f-qmc5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
minimatch_projectminimatch≤ 3.0.1

Official sources

References

Links published by the sources. Open them with care.