# CVE-2026-140252: node-tar UnpackSync never completes sync-stream extraction after any failing entry (PEND/UNPEND imbalance)

- 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-25mm-r35j-6hgm, CGA-3hh2-4gj6-xh28, CGA-h2gg-fxc8-rpv7, CGA-79fj-7488-hmg2, CGA-rm33-mxvf-2hxh, CGA-27mf-295v-j639, CGA-28p5-7xcf-9xc9, CGA-2cxj-hrjv-223m, CGA-2prw-c46m-8qmh, CGA-2xrw-7pr2-vvch, CGA-34g8-62xf-rwhj, CGA-3f7r-w549-86p6, CGA-4q9m-39f7-g443, CGA-52jm-pr78-96rc, CGA-655r-m4j6-m382, CGA-665v-v242-x4pw, CGA-67cw-mhhq-rpq6, CGA-7gjq-pvm6-95vm, CGA-7j29-cqj8-j3ff, CGA-96c4-73vr-q8h5, CGA-97h9-2qgw-v2wf, CGA-9j3j-fh6v-r6mh, CGA-c22g-hrf2-36gm, CGA-c55f-h8rg-wxfh, CGA-c9pg-73fq-pjc8, CGA-cc67-7ggh-9h2j, CGA-chcm-987h-r37q, CGA-f5j3-65x6-fqqc, CGA-fj32-87rj-777x, CGA-ghmm-83qx-hwmw, CGA-h9rv-p959-x5qm, CGA-hf2v-g349-cmxj, CGA-hmw6-v8pr-4ppx, CGA-j24j-mp8x-p9mv, CGA-j6f3-jvh3-4gcv, CGA-p5xf-6hq8-x6cx, CGA-r6rr-gg49-vvw5, CGA-r8c9-rwx4-jww9, CGA-rc5r-hqq9-35q6, CGA-rpx2-6p3f-mf4h, CGA-rxpg-238c-4r78, CGA-vqrw-xppj-f3rp, CGA-w8ff-7jgm-whjr, CGA-239w-pxq5-h48m, CGA-23jc-c7h3-hff9, CGA-25jc-x9gh-qv48, CGA-2c3r-6w89-rc84, CGA-2j48-86mv-f9hx, CGA-2v65-rvgm-fr93, CGA-3q5h-32qw-h7cj, CGA-3qg8-769q-g88v, CGA-3vwq-mrqg-87f3, CGA-43pw-893x-3vj4, CGA-454q-j88x-p45q, CGA-46fr-56hh-2c6q, CGA-4m57-6wm3-rfvw, CGA-4ppv-j98h-388r, CGA-53ff-6vm7-gv4v, CGA-58pp-q476-gxrm, CGA-5942-g79x-h2w5, CGA-5gmh-h5c2-pf83, CGA-74p7-chgq-3qvg, CGA-7hvm-h4f8-xjm3, CGA-7jxf-hhf6-p936, CGA-7m26-69vx-f8fw, CGA-835m-v372-v6mg, CGA-8448-877f-ww7c, CGA-86vh-fwm8-65vh, CGA-8j9g-gh6p-3jp3, CGA-8jqx-gp6q-57xx, CGA-8qw2-j339-vwc4, CGA-9hp5-2p48-4r3h, CGA-c227-hgvh-9rfc, CGA-c3h6-gh33-27g3, CGA-cq45-c543-hvh6, CGA-cr65-j2qq-h7mx, CGA-cw97-p993-w9mw, CGA-f4mc-gqr9-qg7g, CGA-f7j8-q69c-j869, CGA-fhj9-vw6c-87j9, CGA-fph8-fq29-q92c, CGA-fq4c-6jqr-rrhj, CGA-fr23-9cc3-pvvf, CGA-fvpx-mmhm-76mv, CGA-fx4g-fm8g-93r3, CGA-gf92-p226-w797, CGA-gfx6-76wh-65gf, CGA-ggx4-9phv-4xhx, CGA-gr35-mw38-jr3r, CGA-gxxr-365h-r3x9, CGA-h37p-w4pf-g7fm, CGA-hgwc-jmfq-pq8v, CGA-hh29-p25c-85m9, CGA-j4g7-3v5v-5883, CGA-jfjv-839m-xvp7, CGA-jp7p-rj5p-43q9, CGA-jqrr-qg39-jx9v, CGA-m9pr-hrv2-3pqc, CGA-mmwg-8xv4-w7j2, CGA-pfg9-7r66-j82x, CGA-pfqc-8f44-wx7h, CGA-pr37-p664-qhj3, CGA-pv66-hpf8-4vpm, CGA-px93-32jp-94jc, CGA-q8x8-53jx-55cv, CGA-qggq-xwm3-xr42, CGA-qwcv-mm4x-62xj, CGA-r52p-c3mm-jmcp, CGA-v338-7f26-w493, CGA-vffp-gpv8-gh3c, CGA-vvxj-297j-8267, CGA-wcwc-pqh8-hmcj, CGA-whxx-m96v-59v6, CGA-wmm2-5w2w-fc7c, CGA-x3cv-x2m2-5w23, CGA-xx43-c954-q4q2, DEBIAN-CVE-2026-140252, CGA-gw3f-f6x4-wh6f, CGA-28wp-cxvc-fhq7, CGA-2q28-27gc-x5wf, CGA-3c5p-8858-mq27, CGA-7xmr-wrhp-r9q6, CGA-pvvj-75w8-89r4, CGA-grc3-jmx2-pjf4, UBUNTU-CVE-2026-140252, CGA-529p-rvm8-9rxw, CGA-6cx2-8qh4-4p9c
- Record: https://cvemate.com/vulnerability/CVE-2026-140252 · JSON: https://cvemate.com/vulnerability/CVE-2026-140252/json

## Description

```text
node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default asynchronous API and file-based synchronous API are not affected. 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.668%, percentile 53.303%, 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 83)

- chainguard browsertime (Chainguard): All versions (No fix recorded) \| \< 29.5.1-r1
- chainguard cdxgen-slim (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 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)
- chainguard graalvm-25.5-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard graalvm-25.6-ce-nodejs (Chainguard): All versions (No fix recorded)
- chainguard haraka (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.4 (Chainguard): All versions (No fix recorded)
- chainguard kibana-9.5 (Chainguard): All versions (No fix recorded)
- chainguard lerna (Chainguard): All versions (No fix recorded)

## References

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

---

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