CVE-2026-140241
published high CVSS 4.0 · 7.1node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar>= 7.5.22, < 8.0.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| isaacs | node-tar | >= 7.5.22, < 8.0.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-248 CWE-248: Uncaught Exception
- CWE-755 CWE-755: Improper Handling of Exceptional Conditions
References
3Provider assertions
1GitHub_M · cna
node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when the Node runtime lacks native zstd
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ce2792068910237d3451c45ffb9a2c75ee69332120be07b3d2aefab12fe45b64
- Ingested
- 01 Dec 2026, 17:43:36 UTC
- Source record
- Official CVE record