{"id":"CVE-2026-140234","aliases":["CVE-2026-140234"],"related":[],"kind":"vulnerability","state":"published","title":"node-tar: `/\\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","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-12-01T17:09:39.092Z","modified":"2026-12-01T18:17:26.967Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"}],"cwes":["CWE-158"],"affected":[{"ranges":[{"version":"< 8.0.0","status":"affected"}],"vendor":"isaacs","product":"node-tar","source":"cvelist"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-wpwg-r92p-fjjh","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140234","url":"https://www.cve.org/CVERecord?id=CVE-2026-140234","licence":"CVE Terms of Use","modified":"2026-12-01T17:09:39.092Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140234","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140234","licence":"Public domain","modified":"2026-12-01T18:17:26.967Z"}],"updatedAt":"2026-12-01T18:32:16.030Z"}