Security mailing lists by PureSourceCode

CVE-2026-140007

MEDIUM 5.9CVSS 3.1

minimatch: Global pattern cache retains large expansions, enabling memory exhaustion

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.

Published
30 Nov 2026
Last modified
3 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-400
Also known as
GHSA-hqmv-qgp3-jx75
Sources
NVDJSONCVE ListJSONOSV GHSA-hqmv-qgp3-jx75JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List GitHub_M CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

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

References

History

  • 3 Dec 2026 17:56 UTC · NVD: 1 reference added
  • 3 Dec 2026 16:56 UTC · CVE List: updated (other details)
  • 1 Dec 2026 18:39 UTC · OSV: first stored (published 1 Dec 2026)
  • 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.