Vulnerability
CVE-2026-118764
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.
463 advisories report this vulnerability, across 9 ecosystems.
Advisories in Wolfi
- CGA-22wj-q9w3-c836
- CGA-23vx-rjv8-pwfw
- CGA-2phg-r438-fjhc
- CGA-2q6f-53qp-54p4
- CGA-2q8r-h534-j9h3
- CGA-3cj9-682p-r2x8
- CGA-3r54-8gqx-hc4q
- CGA-3x6h-fjj6-f3hq
- CGA-48gf-74pr-fc97
- CGA-493f-f5c9-hcwr
- CGA-4c7f-3jwp-8fj3
- CGA-4f2x-j49x-rvrc
- CGA-4j5p-gh39-x9gf
- CGA-4qhj-3cq4-mqvh
- CGA-4v48-q69w-866h
- CGA-57rj-ww23-92xp
- CGA-5c6v-j9cg-jq9g
- CGA-5cxm-x52r-9mf2
- CGA-5fcf-wvcf-g6c8
- CGA-5fg5-93h7-4mcw
- CGA-5jh2-26r5-r6m2
- CGA-5w2g-c8gg-p8rw
- CGA-65jv-9r3m-fcqr
- CGA-6v5c-427j-gpm4
- CGA-775h-xq26-qv2r
- CGA-78vp-xgf3-hwxm
- CGA-7h56-p83m-c3qf
- CGA-7h5c-jxhw-f6f6
- CGA-7p74-49f9-gcg8
- CGA-7prf-x84m-4prc
- CGA-7qgp-wp76-vf24
- CGA-828m-rfh9-2m4h
- CGA-84jf-j4rp-xr8h
- CGA-8568-j8ff-rhcq
- CGA-85jp-26r4-67mp
- CGA-87cq-hq24-7h3m
- CGA-88c7-4xwj-j4pp
- CGA-8f68-85mh-q48v
- CGA-8ppw-6j3q-7qcc
- CGA-8vr8-g4p2-rr4j
- CGA-8vxr-vrcp-xf42
- CGA-8x27-7cqc-cfrw
- CGA-93wg-qggr-hwwq
- CGA-9cxg-r2gm-xh85
- CGA-9qrj-56cc-m9w5
- CGA-9w2p-v365-v2v2
- CGA-c7jh-9q3w-7pv4
- CGA-cgf5-hm6x-584c
- CGA-cmmq-4238-f329
- CGA-cr5g-4pjr-889f
- CGA-cwvq-mv8w-7p46
- CGA-cxm7-8fw4-qq82
- CGA-f39m-7m55-jfh2
- CGA-f46g-j99r-mqmp
- CGA-f6m2-8x4w-xcwm
- CGA-f89c-vwpm-36xf
- CGA-f92r-2cvq-43h7
- CGA-g67m-9cpq-vgr7
- CGA-g6fh-hfxq-m6rw
- CGA-g9cp-8mgm-fffx
- CGA-g9pp-wjhj-vjxm
- CGA-gcrr-f5cv-9h6f
- CGA-ggmj-mq85-q7rx
- CGA-gx99-jmwf-9c59
- CGA-gxw3-g6qf-vhm3
- CGA-h36w-4498-56cp
- CGA-h44p-9x5x-53w8
- CGA-h522-pg6h-wp94
- CGA-hc6p-hgjc-3jhv
- CGA-hm63-j84r-vpvg
- CGA-hm94-2rhr-vcmj
- CGA-j5r4-9vxw-j669
- CGA-jc28-h9pp-fqfg
- CGA-jh8m-2g69-hm45
- CGA-jp94-4wcj-wc3r
- CGA-jr2v-7g35-ccm3
- CGA-m6j6-62rq-4mr5
- CGA-m7fg-44hc-qp3q
- CGA-m7vm-hrpr-hc96
- CGA-m9xc-88g4-j923
- CGA-mcgx-3fqx-45jr
- CGA-mj2x-w2mc-4fg7
- CGA-mjh9-9r4w-h52r
- CGA-mm2c-cwrg-2955
- CGA-mmw7-6j92-h6gc
- CGA-mr54-4vw5-59pg
- CGA-mrr7-fc7c-f7h9
- CGA-mwgv-5mcw-7gg2
- CGA-p5x3-9wv5-2g76
- CGA-pf44-h37v-9xhp
- CGA-phqm-3q35-h525
- CGA-q2wj-6p7w-85wj
- CGA-q5j7-rpff-g58r
- CGA-q77j-468v-7pjx
- CGA-qf5j-7c96-v8h7
- CGA-qgv5-5qwh-wrxf
- CGA-qj87-3p6m-xmw8
- CGA-qmgq-mggf-f78r
- CGA-qq73-ffxg-fff3
- CGA-qxh4-qq7g-mfvx
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-118764.
References
- https://github.com/isaacs/minimatch/commit/297b6c1a01f2410b3ba1ebed14ba222d0c3c1033
- https://github.com/isaacs/minimatch/commit/77a0f5c4b80bdc641c3c930a1d9edf5ad2db57f8
- https://github.com/isaacs/minimatch/commit/fd0b3ab9cbc5bf1aff1c99f1f46e413c2b3340da
- https://github.com/isaacs/minimatch/releases/tag/v11.0.1
- https://github.com/isaacs/minimatch/security/advisories/GHSA-g3hv-75wg-m249