CVE-2026-140232
published high CVSS 4.0 · 7.1node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| isaacs | — | node-tar>= 7.5.17, < 8.0.0 | Affected | Not stated | GitHub_M |
Description
node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. 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:L/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.17, < 8.0.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-158 CWE-158: Improper Neutralization of Null Byte or NUL Character
References
3Provider assertions
1GitHub_M · cna
node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9646cda1acf90e643722de2645e3df923c7063cfd21ccfa8581189dd8afc4c2b
- Ingested
- 01 Dec 2026, 17:00:20 UTC
- Source record
- Official CVE record