cvelo
P3 · MediumCVSS 6.9EPSS 0.4%

minimatch: potential denial of service via globparts amplification

  • CVE-2026-118764
  • GHSA-g3hv-75wg-m249

Description

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Starting in 7.0.0 and 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.

Text from the CVE.org record.

Affected

  • isaacs minimatch

    • >= 7.0.0, < 11.0.1
  • minimatchnpm

    • from 7.0.0, fixed in 11.0.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.