Affected versions
Ubuntu18.04:LTS/node-minimatch
- Affected versions
- * || =3.0.4-1 || =3.0.4-3 || =3.0.4-3+deb10u1build0.18.04.1
- Fixed version
- Not reported
Ubuntu20.04:LTS/node-minimatch
- Affected versions
- * || =3.0.4-3 || =3.0.4-4 || =3.0.4-4ubuntu0.1
- Fixed version
- Not reported
Ubuntu22.04:LTS/node-minimatch
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu24.04:LTS/node-minimatch
- Affected versions
- Unknown
- Fixed version
- Not reported
Ubuntu26.04:LTS/node-minimatch
- Affected versions
- * || =9.0.3-6
- Fixed version
- Not reported
Ubuntu26.10/node-minimatch
- Affected versions
- * || =9.0.3-6 || =9.0.7-1
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
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.
Links
- https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
- https://github.com/isaacs/minimatch/releases/tag/v11.0.1
- https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249
- https://ubuntu.com/security/CVE-2026-118764
- https://www.cve.org/CVERecord?id=CVE-2026-118764

