# CVE-2026-140230: node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-03
- Aliases: DEBIAN-CVE-2026-140230, GHSA-xm6h-2993-3ch9, CGA-2v5h-45wq-38w8, CGA-5c26-8r6g-7rpf, CGA-5f6q-wpc5-mhq2, CGA-6m4p-cpgx-w86f, CGA-8hgm-r3r8-2rxw, CGA-9vcx-rp74-fqj5, CGA-c9r2-gw4v-xpwp, CGA-jjxx-98xp-4j4q, CGA-qj6p-5x3g-rqh4, CGA-5cxx-4pp6-mm9x, CGA-5rq7-gm4h-78c6, CGA-7w72-6fgq-mc98, CGA-85f4-4jcc-qhrc, CGA-cfqw-p85f-w24h, CGA-qv53-xmx7-6g8h, CGA-rq3f-3h92-9mhg, CGA-vjp8-r8mm-h8f7, CGA-2fhq-3q7g-xhqm, CGA-36qr-r4jg-5p82, CGA-3j6w-mw2j-m6xm, CGA-3wh2-69mq-39fv, CGA-4mhh-49xr-9v64, CGA-4mrw-ch86-252h, CGA-5f46-h97j-m598, CGA-5wm2-96vm-fxrv, CGA-6cf9-j5xq-crr6, CGA-6pr3-454p-267x, CGA-7vgc-4j68-6p93, CGA-8rvx-6qx8-59h5, CGA-9q3c-9x8f-jr45, CGA-9x39-wr68-jv76, CGA-cqvr-93f3-69v2, CGA-pg5j-j343-q4hw, CGA-qr2c-x8x4-mf2p, CGA-qw4r-x2cq-v768, CGA-rw2r-7f7p-2ccx, CGA-vwwq-3m9w-2ggf, CGA-wrxw-v9vr-5569, CGA-283j-c7f5-mm59, CGA-2h23-qw8g-q955, CGA-3829-p597-fpvc, CGA-3chp-hwh7-w3wr, CGA-3pfq-j2jj-gv6h, CGA-4855-23gw-xq3q, CGA-4jp8-4p3f-fmqg, CGA-4pr4-gr23-5cpf, CGA-4q2c-2pvp-633v, CGA-5fpr-j883-w35f, CGA-6hw7-4jjg-3fh5, CGA-6wx6-88qp-c764, CGA-8h5r-pgpq-7565, CGA-8m38-4p7q-gh36, CGA-8rc4-vm56-p396, CGA-9wmm-h492-chpv, CGA-chx4-m7gg-qcg9, CGA-cj4m-3f8g-89j4, CGA-cq84-p8hm-5223, CGA-cvj2-j2qg-c9q2, CGA-cxmj-6hgp-h9cm, CGA-hr7f-cghw-cvmv, CGA-hrcr-575r-hh5r, CGA-hwmw-3hxj-wg2m, CGA-hxww-5x77-ch5x, CGA-mvc9-7v49-vgv2, CGA-mxvh-m5h9-grj3, CGA-pxqf-w4gh-2774, CGA-vwq5-5h99-hq4f, CGA-wrhw-5rcv-w4mj, CGA-xv2h-366q-cr65, CGA-xv8j-wfrv-hr3v, CGA-xxj6-4r8m-m32m, CGA-36gh-2h4g-5mrh, CGA-6828-pm78-88fr, CGA-gfj4-895f-7wxp, CGA-mx2g-8698-7jjr, CGA-phpg-34rp-h9xv, CGA-2pp6-ph83-vxh8, CGA-34jf-vv82-525r, CGA-3966-476m-8gjp, CGA-3q87-rp8m-9cjp, CGA-6xmv-g8g4-3j65, CGA-8pf8-r99w-vqcc, CGA-8px9-2738-q3wf, CGA-crgx-pfwf-w73f, CGA-gf7w-pfw7-v97w, CGA-hj2x-j2h3-c397, CGA-hj4x-qghr-x57v, CGA-jjvm-j33q-j9p9, CGA-mggj-6rvq-q94w, CGA-mq79-46q3-h657, CGA-qr6h-3xp8-g9wv, CGA-rvxp-gxq9-x34m, CGA-vm7v-rp62-c5gq, CGA-wwj4-7crx-fg4m, CGA-xq4x-3vv9-m663, CGA-p46q-5wj6-p7hc, CGA-rff9-jm2w-cf94, UBUNTU-CVE-2026-140230, CGA-92cv-x8mx-8vvf, CGA-p6gx-hq7g-p6jj, CGA-j425-q677-fx5j, CGA-jc6g-2vrv-rrgm, CGA-777p-2w22-w6f2, CGA-g9mx-j77g-8v4j, CGA-h496-mgx3-jp5f, CGA-hcv9-689r-qmh2, CGA-jgvx-vfc9-fcfw, CGA-mhcj-c345-76m8, CGA-q7x3-w8vq-67mq, CGA-w67j-g3pf-gxg2, CGA-xg6p-xr8q-vr2f
- Record: https://cvemate.com/vulnerability/CVE-2026-140230 · JSON: https://cvemate.com/vulnerability/CVE-2026-140230/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation. A small crafted archive can exhaust the available Node.js heap and terminate the process. This issue is fixed in version 8.0.0.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.81%, percentile 58.238%, 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 80)

- chainguard cdxgen-slim (Chainguard): All versions (No fix recorded)
- chainguard code-server (Chainguard): All versions (No fix recorded)
- chainguard cubejs (Chainguard): All versions (No fix recorded)
- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.12.04.47258835307001-r0
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.2-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.3-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19 (Chainguard): All versions (No fix recorded)
- chainguard kibana-8.19-bitnami (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.3 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded)
- chainguard kubeflownotebookswg-jupyter-scipy (Chainguard): All versions (No fix recorded)
- chainguard lerna (Chainguard): All versions (No fix recorded)
- chainguard node-gyp (Chainguard): All versions (No fix recorded)
- chainguard node-red-4.1 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-xm6h-2993-3ch9>
- <https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2>
- <https://github.com/isaacs/node-tar/releases/tag/v8.0.0>
- <https://security-tracker.debian.org/tracker/CVE-2026-140230>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140230>
- <https://github.com/isaacs/node-tar>
- <https://ubuntu.com/security/CVE-2026-140230>
- <https://www.cve.org/CVERecord?id=CVE-2026-140230>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140230.json>

---

Data as of 2026-12-05T10:10:56.967Z. 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
