CVE-2026-140241
7.1high
node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| isaacs node-tar | >= 7.5.22, < 8.0.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140241 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140241 changed 2026-12-01 | Public domain |