MEDIUM · CVSS 5.9 Published: 2026-11-30

CVE-2026-140007 — Technical Security Advisory & CVSS Profile

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.

Technical Metadata

IdentifierCVE-2026-140007
Base Severity / ScoreMEDIUM (5.9 / 10.0)
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness ClassificationCWE-400
Archive CategoriesMEDIUM Advisories · 2026 Index

Operational Mitigation Guidance

Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.

Upstream References

Related Security Advisories

CVE-2026-140006 MEDIUM 5.4
CVE-2026-140012 MEDIUM 5.3
CVE-2026-140014 MEDIUM 6.5
CVE-2026-138277 MEDIUM 4.7
CVE-2026-139886 MEDIUM 5.3
CVE-2026-140098 MEDIUM 6.9