Security mailing lists by PureSourceCode

CVE-2026-140008

HIGH 8.7CVSS 4.0

minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 `mergeRows`)

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-407
Also known as
GHSA-cf2h-pxjq-68xw
Sources
NVDJSONCVE ListJSONOSV GHSA-cf2h-pxjq-68xwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List GitHub_M CVSS 4.0 HIGH 8.7 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List isaacs minimatch = >= 11.0.0, < 11.0.7
OSV npm minimatch >= 11.0.0, < 11.0.7 11.0.7

References

History

  • 1 Dec 2026 18:39 UTC · OSV: first stored (published 1 Dec 2026)
  • 1 Dec 2026 15:31 UTC · NVD: updated (other details)
  • 1 Dec 2026 15:05 UTC · CVE List: updated (other details)
  • 30 Nov 2026 22:30 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 21:58 UTC · CVE List: first stored (published 30 Nov 2026)
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.