# CVE-2026-140007: minimatch: Global pattern cache retains large expansions, enabling memory exhaustion

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-30 · Modified: 2026-12-03
- Aliases: GHSA-hqmv-qgp3-jx75, DEBIAN-CVE-2026-140007, CGA-2q22-7487-9jf2, CGA-2wr7-cgcg-34rg, CGA-3g5w-9mfm-v9cg, CGA-qpw5-9qmw-922h, CGA-wrvh-rcx2-679m, CGA-3cv7-87jc-3w3w, CGA-3p36-22f4-mrcm, CGA-4v2r-547j-66j7, CGA-6vfc-3qjp-7hmw, CGA-7rx2-mmpc-pj52, CGA-853w-rq8h-2v8m, CGA-9wjh-4fmx-845r, CGA-fv3x-x7wp-3qcq, CGA-gmwj-h29w-6798, CGA-gv4p-8g79-xmqj, CGA-gvgj-56qg-6c9f, CGA-pg2p-8m54-g2wp, CGA-xrw7-725x-85gx, CGA-4jv4-42v7-j69x, CGA-9rp4-mrg9-68f7, CGA-fw33-pv46-9mvp, CGA-fx8h-6273-4jc8, CGA-fgqc-hjpx-hpxv, CGA-qh47-7hxj-56v9, CGA-458v-3j3f-w229, CGA-9pgh-g55q-fp9p, CGA-cq87-59mm-4vxg, CGA-rv76-wc3j-9q95, UBUNTU-CVE-2026-140007
- Record: https://cvemate.com/vulnerability/CVE-2026-140007 · JSON: https://cvemate.com/vulnerability/CVE-2026-140007/json

## Description

```text
minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 11.0.3 until 11.0.8, the top-level minimatch() function stores compiled Minimatch objects in a module-level 256-entry Map whose entries are bounded by count but not by retained expansion weight below the braceExpandMax ceiling. An application that accepts unique attacker-controlled glob patterns can retain objects containing up to 100,000 expanded rows per entry, causing memory exhaustion and process termination; direct construction with new Minimatch() is not affected by this cache behavior. This issue is fixed in version 11.0.8.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.724%, percentile 55.423%, 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 21)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard authentik-fips-2026.5 (Chainguard): \< 2026.5.9-r4
- chainguard bash-language-server (Chainguard): All versions (No fix recorded) \| \< 5.8.1-r3
- chainguard codeceptjs-codeceptjs (Chainguard): All versions (No fix recorded) \| \< 4.2.7-r1
- chainguard dotstatsuite-supercore (Chainguard): All versions (No fix recorded) \| \< 3.1.0\_git20261022-r10
- chainguard eco-jess (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded) \| \< 25.2.4-r10
- 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
- chainguard node-red-4.1 (Chainguard): All versions (No fix recorded)
- chainguard npm-12 (Chainguard): All versions (No fix recorded)
- chainguard ts-patch (Chainguard): All versions (No fix recorded)
- chainguard vitess-24 (Chainguard): All versions (No fix recorded) \| \< 24.0.5-r18
- wolfi npm-12 (Wolfi): All versions (No fix recorded)
- wolfi ts-patch (Wolfi): All versions (No fix recorded)
- wolfi vitess-24 (Wolfi): All versions (No fix recorded) \| \< 24.0.5-r18
- debian node-minimatch (Debian): All versions (No fix recorded)
- ubuntu node-minimatch (Ubuntu): All versions (No fix recorded)
- isaacs minimatch: ≥ 11.0.3, \< 11.0.8

## References

- <https://github.com/isaacs/minimatch/security/advisories/GHSA-hqmv-qgp3-jx75>
- <https://github.com/isaacs/minimatch/commit/d70a7bbc73140bd771daf5c30869b28dbc48929c>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140007>
- <https://github.com/isaacs/minimatch>
- <https://security-tracker.debian.org/tracker/CVE-2026-140007>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140007.json>
- <https://ubuntu.com/security/CVE-2026-140007>
- <https://www.cve.org/CVERecord?id=CVE-2026-140007>

---

Data as of 2026-12-05T06:45:07.222Z. 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
