Description
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.
Published: 2026-10-29
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Denial of Service due to CPU and memory exhaustion
Action: Patch Immediately
AI Analysis

Impact

The flaw resides in minimatch's handling of glob expressions. When the optimizer is set to level 2 or higher, the library repeatedly expands attacker‑supplied /.. segments in a loop, producing a growing set of glob parts. A short malicious pattern can therefore trigger excessive CPU cycles and memory usage during compilation, which can lead to a denial‑of‑service condition for the Node.js process that uses minimatch.

Affected Systems

Applications that depend on the npm package minimatch provided by the isaacs maintainer are affected. Any installation of minimatch earlier than version 11.0.1 is vulnerable, regardless of the operating system, because the issue is in the JavaScript library itself.

Risk and Exploitability

With a CVSS score of 8.7 this vulnerability is considered high severity. The EPSS score is not published, and the vulnerability is not listed in CISA KEV, suggesting no currently known active exploits. The attack vector involves supplying a crafted glob pattern to the library, which is feasible when the application accepts glob syntax from users, from configuration files, or from network input. If exploited, the malicious actor can exhaust system resources and bring the application offline.

Generated by OpenCVE AI on October 29, 2026 at 18:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade minimatch to v11.0.1 or later
  • Set minimatch's optimizationLevel to 1 to prevent excessive glob part expansion
  • Validate or limit the length and complexity of user‑provided glob patterns before processing

Generated by OpenCVE AI on October 29, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Isaacs
Isaacs minimatch
Vendors & Products Isaacs
Isaacs minimatch

Thu, 29 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to 11.0.1, src/index.ts implements firstPhasePreProcess() so that, at optimizationLevel 2 or higher, it repeatedly expands attacker-controlled **/.. pattern segments inside a fixpoint loop, allowing generated globParts entries to be processed and expanded again. secondPhasePreProcess() then compares the expanded entries pairwise, so a short malicious glob can cause excessive CPU and memory consumption during pattern compilation. This issue is fixed in version 11.0.1.
Title minimatch: potential denial of service via globparts amplification
Weaknesses CWE-405
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Isaacs Minimatch
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T17:07:11.357Z

Reserved: 2026-10-28T19:20:05.017Z

Link: CVE-2026-118764

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-29T17:18:07.380

Modified: 2026-10-29T17:18:07.380

Link: CVE-2026-118764

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T19:30:15Z

Weaknesses
  • CWE-405

    Asymmetric Resource Consumption (Amplification)