CVE-2026-140241
node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- node-tar · isaacs
- Weakness
- CWE-248: Uncaught Exception
- Published
- 1 December 2026 by GitHub_M
node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automatically detecting Zstandard (zstd) compression on Node.js runtimes without native zstd support. An attacker who can supply a specially crafted input file to the asynchronous file listing or extraction API can cause an uncaught exception that terminates the process, resulting in denial of service. 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.