CVE-2026-140241

7.1High

Published Dec 1, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.1CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
Passive
Impact
High impact on availability
Weakness
CWE-248, CWE-755

What an attacker gets

Unauthenticated attackers can crash your Node.js application by providing a malicious tar archive. This occurs when the application attempts to extract or list files using the affected library.

Root cause

The library fails to catch an exception during Zstandard compression detection when native zstd support is missing in the Node.js runtime.

Affected versions

node-tar versions 7.5.22 through 7.x (prior to 8.0.0)

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to node-tar version 8.0.0 or later. If you cannot upgrade, ensure your Node.js runtime environment has native zstd support enabled.

remediation — bash
$ npm install node-tar@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD 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.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140241

More fully triaged vulnerabilities you may want to check next.