CVE-2026-140232
node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- node-tar · isaacs
- Weakness
- CWE-158: Improper Neutralization of Null Byte or NUL Character
- Published
- 1 December 2026 by GitHub_M
node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.
Our coverage
We have not written about this one. Know why it matters? Send a tip.