# CVE-2026-140008: minimatch: Quadratic compile time for long wildcard patterns (regression in 11.0.0 \`mergeRows\`)

- Priority: **Prioritise**
- Reason: Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 11.0.7 (CNA); fix release not confirmed
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-01
- Aliases: GHSA-cf2h-pxjq-68xw, CGA-w48x-vxg6-5xgj, CGA-wp2v-phw7-jxmh, CGA-26q7-6xxc-pwcx, CGA-2rj2-rcxq-gm52, CGA-34qc-vjw6-wx4c, CGA-3m3c-f5q9-mfg6, CGA-47w6-696w-v947, CGA-56j2-234r-775c, CGA-5qcw-3v9v-mhcp, CGA-5x7v-fgm3-crqm, CGA-6wh9-9cg4-qw8j, CGA-79h7-jcr6-h36h, CGA-934h-2jfw-23q2, CGA-97w2-8m7x-pq54, CGA-98x8-wvfx-99r9, CGA-c8r7-7q6q-3pgw, CGA-cq88-rch2-vwww, CGA-f269-3fhf-cvhx, CGA-f38p-572c-9j9m, CGA-fgpw-8wm6-mcvj, CGA-g5vc-3q4x-8vvv, CGA-gmwc-9v8g-h7x4, CGA-gxx7-2jmh-cfgp, CGA-hgg7-xw2g-v6vm, CGA-j7x6-j2mj-4qx3, CGA-jmx7-44cq-fx2h, CGA-mh9h-pp6w-m8cf, CGA-mr2f-wqxx-jwr2, CGA-mv5g-8gg5-7qhg, CGA-p6cw-cpx5-xw43, CGA-phw7-8rw2-7cmp, CGA-pmpw-6vm5-5pj3, CGA-qmrc-r7pg-v4gp, CGA-rxr2-gxrp-p6pm, CGA-v2px-pw9x-2c3g, CGA-wmpf-627x-96gg, CGA-wpq4-9fw3-43mr, CGA-wxvm-5gwq-f682, CGA-x9rg-vmww-m35c, CGA-xcxh-3v73-4vxm, CGA-xq53-2rc6-qjh6, CGA-xxp2-x7m8-p9qq, CGA-293f-vcmr-29r8, CGA-2q57-c723-2pqr, CGA-2qgf-5jmw-3hvg, CGA-3h8q-hj39-jc3q, CGA-49qr-vgrg-p4wc, CGA-4hcw-p985-vmrp, CGA-4mxg-rff5-x954, CGA-4wqc-5rg8-wxf2, CGA-4x73-q7xm-jv4v, CGA-54j6-mjvf-v55w, CGA-583x-cqj3-7hmp, CGA-5pr4-9mwf-5374, CGA-5xc3-7p48-vvr6, CGA-6qgj-m63p-jhvr, CGA-7g8v-72c3-9hx8, CGA-7hcj-cj5c-f9jq, CGA-86ww-29j2-gprw, CGA-8w76-7m9r-3v8m, CGA-9428-4rqf-c7q2, CGA-94xw-2256-5j89, CGA-95jf-ccg8-m7wf, CGA-95mx-wxh7-wfh2, CGA-9f3v-358q-g28j, CGA-c54f-3pm8-8qp3, CGA-cx5j-8m76-rxvx, CGA-f532-8659-2jvv, CGA-fmcc-44h5-xq7r, CGA-fv6c-3gjc-j4pm, CGA-gm4f-8gx6-42rg, CGA-h6jp-3qf8-cjr9, CGA-h6rr-84m3-jg8c, CGA-j4h5-cmgx-xggj, CGA-j7jq-2vgq-mxj5, CGA-m244-hw2x-3w4g, CGA-mg7w-vw27-mp6w, CGA-mq4w-gm9r-v4jc, CGA-p32j-5xcp-6rmh, CGA-p8r2-82w7-jcgr, CGA-q7pw-8384-jw6p, CGA-q8rw-pchp-qp6w, CGA-qcpv-rh5c-mv85, CGA-qw3x-pqq2-mqm4, CGA-r3fg-4qj6-442w, CGA-r3mj-fw3v-fqjp, CGA-r78v-q56g-q83r, CGA-rh46-67gm-8x92, CGA-rr28-cc3q-wmw9, CGA-w48m-j2hw-x38x, CGA-w6gp-9rg7-r328, CGA-w8rm-w7mv-vr82, CGA-wf89-37v4-7r63, CGA-wgq5-jf73-3h62, CGA-wqw8-99ff-gfgv, CGA-wrhp-vm9m-cw2m, CGA-3crw-2rx6-94wv, CGA-3mmj-xqfp-fqvw, CGA-3qw2-3wq2-875h, CGA-xxx4-cf89-x587, CGA-jvm8-xqj8-v7f4, CGA-6cpm-q28c-hcjj, CGA-ghrc-4383-v4xc, UBUNTU-CVE-2026-140008, CGA-594g-xfwq-hcwm, CGA-p9w4-x7ch-pq65
- Record: https://cvemate.com/vulnerability/CVE-2026-140008 · JSON: https://cvemate.com/vulnerability/CVE-2026-140008/json

## Description

```text
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.0 until 11.0.7, mergeRows() in src/index.ts repeatedly copies and joins an entire pattern row while iterating each wildcard position, causing quadratic compilation time for long wildcard-only path patterns even when only one row exists. An attacker who can supply uncached patterns to new Minimatch or another compiling entry point can block the JavaScript event loop and cause a denial of service, with brace-generated rows further multiplying the work. This issue is fixed in version 11.0.7.
```

## Signals

- CVSS: 8.7 high (v4.0, CVE.org) 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
- EPSS: 0.836%, percentile 59.027%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 45)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.11 (Chainguard): All versions (No fix recorded)
- chainguard arangodb-3.12 (Chainguard): All versions (No fix recorded)
- chainguard authentik-2026.5 (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.5 (Chainguard): All versions (No fix recorded) \| \< 2026.5.9-r3
- chainguard bash-language-server (Chainguard): All versions (No fix recorded) \| \< 5.8.1-r3
- chainguard cdxgen-slim (Chainguard): All versions (No fix recorded)
- chainguard codeceptjs-codeceptjs (Chainguard): All versions (No fix recorded) \| \< 4.2.6-r1
- chainguard dotstatsuite-supercore (Chainguard): All versions (No fix recorded) \| \< 3.1.0\_git20261022-r8
- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.12.03.47028187268001-r1
- chainguard graalvm-25-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.1-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.1.3-r11
- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.2.4-r10
- chainguard graalvm-25.3-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.3.4.1-r3
- chainguard graalvm-25.4-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.4.4.1.1-r4
- chainguard graalvm-25.5-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.5.5.0.3-r4
- chainguard graalvm-25.6-ce-nodejs (Chainguard): \< 25.6.5.1-r3
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded) \| \< 8.19.26-r3
- chainguard kibana-8.19-bitnami (Chainguard): All versions (No fix recorded) \| \< 8.19.26-r3
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded) \| \< 9.5.7-r2

## References

- <https://github.com/isaacs/minimatch/security/advisories/GHSA-cf2h-pxjq-68xw>
- <https://github.com/isaacs/minimatch/commit/8a26917fa43e2b865dd6017f7acf6ac2fd5190cd>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140008>
- <https://github.com/isaacs/minimatch>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140008.json>
- <https://ubuntu.com/security/CVE-2026-140008>
- <https://www.cve.org/CVERecord?id=CVE-2026-140008>

---

Data as of 2026-12-05T06:10:25.023Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
