CVE-2026-140232

node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization

Published Dec 1, 2026 CVSS 4.0 · 7.1 High EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator-Blind String Sanitization
Weaknesses CWE-158
References
Metrics cvssV4_0

{'score': 7.1, 'vector': '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'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 1, 2026, 4:57 PM
Reserved
Nov 30, 2026, 10:04 PM
Status
Deferred
Published
Dec 1, 2026, 5:17 PM
Modified
Dec 1, 2026, 5:17 PM