CVE-2026-140007

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.
Configurations

No configuration.

History

03 Dec 2026, 16:18

Type Values Removed Values Added
References () https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75 - () https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75 -

30 Nov 2026, 22:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-11-30 22:17

Updated : 2026-12-03 16:18


NVD link : CVE-2026-140007

Mitre link : CVE-2026-140007

CVE.ORG link : CVE-2026-140007


JSON object : View

Products Affected

No product.

CWE
CWE-400

Uncontrolled Resource Consumption