Security mailing lists by PureSourceCode

CVE-2016-10540

HIGH 7.5CVSS 3.0

Regular Expression Denial of Service in minimatch

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
31 May 2018
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Modified
Weakness
CWE-20CWE-400
Also known as
GHSA-hxm2-r34f-qmc5
Sources
NVDJSONOSV GHSA-hxm2-r34f-qmc5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD minimatch_project minimatch
cpe:2.3:a:minimatch_project:minimatch:*:*:*:*:*:node.js:*:*
<= 3.0.1
OSV npm minimatch < 3.0.2 3.0.2

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 31 May 2018)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Oct 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.