# CVE-2026-140240: node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping

- 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-01
- Aliases: GHSA-7c32-79xj-j3jp, CGA-5v63-q2v4-xwrv, CGA-r6cv-qr5m-83f7, CGA-279q-qxg4-c7rv, CGA-3vr9-4v93-cp93, CGA-754j-2426-pjfh, CGA-pgch-f5pj-6344, CGA-w3pv-hwq5-8pq2, CGA-227r-84fx-2p38, CGA-2pgp-6hxc-rfc9, CGA-39j2-vxcc-mwcx, CGA-3hrg-4m54-5jq2, CGA-45cx-w2fh-v567, CGA-6c4x-pchm-63j7, CGA-73wm-fc82-vgqp, CGA-74x6-qpx5-mj2x, CGA-7f6j-3x3j-xw7q, CGA-7jm7-972q-2r7h, CGA-7wc2-8w82-8hw7, CGA-9f77-5hhm-q8rq, CGA-9pqc-mgxv-2jwx, CGA-9rcq-7hq2-778v, CGA-9xh2-r2m5-m3x4, CGA-c2vc-gwjm-q5w9, CGA-c2x8-fr7q-r7jj, CGA-cvjq-m3c6-76f7, CGA-cwp3-cmxg-7rc8, CGA-cxm7-64g2-gjqj, CGA-g6g2-7mp9-33cx, CGA-g8w8-w9wq-484p, CGA-ghgw-fpwj-46g8, CGA-h7r5-cf57-qgmg, CGA-hqrc-m4xg-cm8c, CGA-j7x4-c5j3-wfvj, CGA-jpcw-4pm4-8q4h, CGA-m658-qcv2-6wc2, CGA-mchc-3c5g-7v89, CGA-pcff-69jm-gh2m, CGA-pqfm-9m5v-cvrh, CGA-qggw-fgqg-x72x, CGA-r5pj-vvg3-h5wg, CGA-v22q-qc3h-35vc, CGA-v5g7-9v4f-h59x, CGA-vh82-ghfh-6f2q, CGA-vx64-gr9v-h397, CGA-w3gx-g3w5-4vjj, CGA-wh75-638v-jq73, CGA-x5p2-qh7c-ph99, CGA-xpvc-45cg-rjjr, CGA-xv9h-x4r7-gjph, CGA-xxgr-4q72-qgmc, CGA-229p-p5qv-499q, CGA-2pp9-927q-rfpv, CGA-35cm-35m3-f9pr, CGA-39q4-87jm-972m, CGA-4g47-98rh-fpxr, CGA-4jg3-fw6r-p7wg, CGA-4w5p-xwhx-63g8, CGA-524c-xg4w-m72j, CGA-565f-ccvg-mj3x, CGA-5925-6hjx-8h7p, CGA-5j3q-pf26-qqf2, CGA-66h5-29w5-j9gg, CGA-67gv-pwjq-x4j2, CGA-67mr-jrph-8prf, CGA-6h33-p86j-jj36, CGA-6qv6-gj53-f684, CGA-6vm9-4rhp-52w4, CGA-74f8-x4px-57f3, CGA-7h76-wpgx-5hgr, CGA-7pf8-wqjj-h4f4, CGA-7r3c-r25g-v63m, CGA-7wfm-fvcm-299q, CGA-82gj-h2f8-xgr2, CGA-856r-pr3q-w6cq, CGA-8924-826m-hg73, CGA-8mp7-g69w-mx7q, CGA-8vqh-v75c-47cr, CGA-8x4r-cvjc-hmxh, CGA-8x96-hgp9-xp3h, CGA-92j2-ffm9-3pg3, CGA-92x6-jjmx-697x, CGA-98pc-948m-w385, CGA-9crr-p8rg-fr2f, CGA-9cv9-pwfx-f7qj, CGA-c2mv-7v6f-qh3w, CGA-cgxx-wwwh-4h9f, CGA-f87g-m92w-4x9m, CGA-ffhh-99rw-4894, CGA-fjc8-6g6v-xvwx, CGA-g24q-hxpj-gvxj, CGA-g52g-6qpw-hpgg, CGA-g7g9-qj32-vc3c, CGA-gh5p-xj8w-9xr8, CGA-gh84-m6rj-h5rc, CGA-ghx5-2wv8-55m9, CGA-hcxr-cw3g-cqjj, CGA-hh3q-qgfr-chrp, CGA-hqc6-vr62-3fwg, CGA-hvx9-fcxh-4r83, CGA-hwxc-65fg-4ppq, CGA-j4qg-3x8x-g68x, CGA-j63f-9p38-c2p2, CGA-j955-6h9c-xff5, CGA-jf26-r82h-ch9m, CGA-jfqv-2vrc-pccv, CGA-jgq8-x6pp-5cf4, CGA-jj29-58cq-6g94, CGA-jr9x-h76p-6rv9, CGA-m295-f4f9-rx5w, CGA-m5q8-7qwv-hq6q, CGA-m7cj-24v8-pgpc, CGA-m8v7-jr3m-6rvq, CGA-mf7f-6rr2-7362, CGA-mm5v-2w76-6c9x, CGA-mr64-qvj9-jgh6, CGA-pgfv-rw3m-ppv7, CGA-q4ph-vq54-rxr7, CGA-q573-v39h-8qrx, CGA-q787-m4f6-fgmr, CGA-q7r7-vmv9-vcxx, CGA-qgw9-j3g7-6g8x, CGA-r2j3-37wj-3m2v, CGA-r4pg-5h86-hj8h, CGA-r86r-5fwc-vp26, CGA-rcqc-2f28-qhg9, CGA-rp38-m4hx-xpxv, CGA-v993-56q3-r468, CGA-vm8f-9c5p-xc3f, CGA-vwrv-g6w4-m336, CGA-vwvq-c37j-ffhx, CGA-w643-r74g-mqc8, CGA-w8mc-fm3v-7xfw, CGA-w9fv-35jw-8426, CGA-wg9w-3x88-jcp5, CGA-wjgx-qx23-gx3p, CGA-wvcw-wxxm-pqpm, CGA-ww4v-2gm7-53v9, CGA-x2m3-hx9v-r9mq, CGA-x424-3hr4-cj6g, CGA-xj7w-9423-89gm, CGA-xw54-h743-vxhh, DEBIAN-CVE-2026-140240, CGA-2v3j-p5cg-457v, CGA-5pr5-p3f5-gjm6, CGA-2gf7-2mf6-gf78, CGA-36fx-r5xr-39xv, CGA-383x-9q3v-9ch2, CGA-38f6-cg92-737q, CGA-3ph5-p2qj-x6f4, CGA-4w5h-h5j4-m8pm, CGA-4xm2-3m7g-gm7c, CGA-9vv6-32vp-mgmc, CGA-hx8x-vcc5-qvxc, CGA-pvhq-8w3q-27w6, CGA-xwpc-hqc6-7f4g, CGA-cmw3-5p8q-77vq, CGA-fj2w-vfgp-rp98, CGA-pr2w-9378-qprw, UBUNTU-CVE-2026-140240, CGA-g6x5-cc43-vg36
- Record: https://cvemate.com/vulnerability/CVE-2026-140240 · JSON: https://cvemate.com/vulnerability/CVE-2026-140240/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.
```

## 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.866%, percentile 59.923%, 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 102)

- chainguard actions-runner (Chainguard): All versions (No fix recorded)
- chainguard browsertime (Chainguard): All versions (No fix recorded)
- 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 cypress (Chainguard): All versions (No fix recorded)
- chainguard eco-jess (Chainguard): All versions (No fix recorded) \| \< 2026.12.04.47258835307001-r0
- chainguard gemini-cli (Chainguard): All versions (No fix recorded) \| \< 0.72.0-r1
- 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.4 (Chainguard): All versions (No fix recorded) \| \< 19.4.11-r7
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.9-r7
- 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.1-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 graalvm-25.4-ce-nodejs (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-7c32-79xj-j3jp>
- <https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2>
- <https://github.com/isaacs/node-tar/commit/de87900752566867b422de0ebfe6592b30fa9786>
- <https://github.com/isaacs/node-tar/releases/tag/v8.0.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-140240>
- <https://github.com/isaacs/node-tar>
- <https://security-tracker.debian.org/tracker/CVE-2026-140240>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/140xxx/CVE-2026-140240.json>
- <https://ubuntu.com/security/CVE-2026-140240>
- <https://www.cve.org/CVERecord?id=CVE-2026-140240>

---

Data as of 2026-12-05T08:44:44.602Z. 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
