CVE-2026-140241
JSON

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 packageVersionsReported by
isaacs node-tar>= 7.5.22, < 8.0.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140241 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140241 changed 2026-12-01Public domain