minimatch: potential denial of service via globparts amplification
Historical advisory recorded 29 Oct 2026 19:28:49 UTC. Read the latest advisory.
cve-program · CVE-2026-118764
Publishedminimatch 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-118764 · CVE overview and exploitation status
cve-program · CVE-2026-118764
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.