| Name | CVE-2026-140234 |
| Description | node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, /\0.*/ truncation stops at \n, \r, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash. In async extraction, a name that still contains a NUL reaches fs and throws, which crashes a process that doesn't catch it. With strip, the surviving characters make node-tar's view of the name differ from other tools'. The affected security path includes /\0.*/, \n, \r. This issue is fixed in version 8.0.0. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| node-tar (PTS) | bookworm | 6.1.13+~cs7.0.5-1 | vulnerable |
| bookworm (security) | 6.1.13+~cs7.0.5-1+deb12u1 | vulnerable | |
| trixie | 6.2.1+~cs7.0.8-1+deb13u1 | vulnerable | |
| forky, sid | 7.5.22+~4.0.1-1 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| node-tar | source | (unstable) | 7.5.24+~4.0.1-1 |
https://github.com/isaacs/node-tar/security/advisories/GHSA-wpwg-r92p-fjjh
https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237 (v8.0.0)