Home › CVE › JavaScript
CVE-2026-140232 — isaacs node-tar
One of 7 isaacs node-tar vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebVulnerabilitiesSummary
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.
Severity breakdown
High · 7.1
An attacker without an account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on availability, low on integrity, none on confidentiality
- Impact on other systems
- none
Weakness
- CWE-158: Improper Neutralization of Null Byte or NUL Character
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs node-tar | >= 7.5.17, < 8.0.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- isaacs node-tar
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140232?
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. Weakness type: Improper Neutralization of Null Byte or NUL Character (CWE-158).
How severe is CVE-2026-140232?
CVE-2026-140232 has a CVSS 4.0 base score of 7.1 (high), from the CNA (github.com). An attacker without an account can exploit this over the network if a user views or visits something.
Is CVE-2026-140232 being exploited?
Not as far as is known: CVE-2026-140232 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2026-140232?
isaacs node-tar >= 7.5.17, < 8.0.0.
How do I fix CVE-2026-140232?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.