Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft PAX-format tar archive with NUL bytes in path/linkpath fields
-
DeliveryDeliver archive to application using vulnerable node-tar
-
Exploitnode-tar parses PAX headers without NUL sanitization
-
ExecutionNUL-containing string reaches fs.lstat or fs.open
-
PersistUncaught exception terminates Node.js process
-
ImpactDenial of service achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Exception handling completeness
|
| Exploitation Conditions | Exploitation requires that the target application use node-tar prior to version 7.5.17 to extract an attacker-supplied or attacker-influenced tar archive containing PAX extended headers. Specifically, the archive must use the PAX format (not the legacy POSIX ustar format) with NUL bytes embedded in the path or linkpath header fields - this is a non-default archive structure that must be deliberately crafted. The CVSS vector (PR:N, UI:N) confirms no authentication or victim interaction is required once the malicious archive reaches the extraction code path; however, the attacker must control or influence the archive input to the application (e.g., via file upload endpoint, package fetch, or pipeline artifact). Exploitation is strictly limited to denial of service (process termination); no confidentiality or integrity impact exists per the confirmed C:N/I:N CVSS metrics. Standard tar archives without PAX headers or without NUL bytes in header fields are unaffected. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yields a base score of 5.3, reflecting straightforward network-reachable exploitation with no authentication barrier and limited impact. No EPSS data was provided, and the vulnerability is not listed in CISA KEV, so no confirmed active exploitation exists. The Availability:Low rating in the CVSS vector may understate practical impact: in long-running Node.js services, an uncaught exception from a single malicious archive terminates the entire process rather than just degrading throughput - an outcome closer to A:H for persistent services. That said, impact is bounded to DoS with zero confidentiality or integrity consequence (C:N/I:N confirmed by vector). The absence of a required privilege level (PR:N) and user interaction (UI:N) means exploitation is constrained only by the attacker's ability to deliver a malicious archive to the extraction code path. This is a real but narrowly scoped DoS risk, not a code-execution or data-exfiltration concern. |
| Exploit ScenarioDerived | An attacker crafts a tar archive in PAX format with a path or linkpath header field containing an embedded NUL byte and submits it to a web application, CLI tool, or CI pipeline that uses a vulnerable node-tar version to extract user-supplied or remotely fetched archives. When node-tar processes the PAX headers in src/pax.ts, the unsanitized NUL-containing string is passed to fs.lstat or fs.open, producing an uncaught exception that abruptly terminates the Node.js process and denies service to all concurrent users of that instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Process termination via crafted tar archive affects node-tar prior to 7.5.17, where NUL bytes in PAX path and linkpath header records are not sanitized before being passed to Node.js filesystem calls. Any application using node-tar to extract untrusted archives is susceptible to denial of service through an uncaught exception that crashes the Node.js process. No confirmed active exploitation or public exploit code has been identified at time of analysis; however, the low attack complexity (CVSS AC:L, PR:N) makes this trivial to trigger wherever attacker-controlled archive input reaches a vulnerable node-tar instance.
RemediationAI
Upgrade node-tar to version 7.5.17 or later via npm (npm install node-tar@7.5.17 or yarn upgrade node-tar@7.5.17). The patched release is confirmed at https://github.com/isaacs/node-tar/releases/tag/v7.5.17 and the fix commit is at https://github.com/isaacs/node-tar/commit/7a635c29f5edbf083557374d43984273ecfed5b3. If an immediate upgrade is blocked, a targeted compensating control is to validate PAX header field values and reject any archive containing NUL bytes (0x00) in path or linkpath fields before passing the archive to node-tar - this requires pre-processing logic at the application layer and adds latency. A second compensating control is to execute node-tar extraction in an isolated child process or worker thread; a crash in that worker will not terminate the main application process, providing fault isolation without fixing the bug. Neither workaround removes the underlying defect and both add maintenance burden; patching to 7.5.17 is the definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
node-tar (CPE: cpe:2.3:a:isaacs:node-tar:*:*:*:*:*:*:*:*) is a JavaScript library for reading and writing POSIX tar archives in Node.js, widely embedded in npm tooling, build pipelines, and deployment automation. The PAX extended header format (POSIX.1-2001) permits arbitrary metadata in archives, including extended path and link path values encoded in UTF-8. The defect resides in src/pax.ts, where PAX path and linkpath field values are not stripped of embedded NUL bytes (0x00) before being forwarded to fs.lstat or fs.open. In Node.js, NUL bytes in path strings passed to libuv cause the underlying OS system call to truncate the path at the NUL - rather than returning a handled POSIX error, this path triggers an uncaught exception classified under CWE-248 (Uncaught Exception). Because Node.js does not catch this exception at the library boundary, the entire hosting process terminates. The 'Information Disclosure' tag present in source metadata conflicts with the CVSS vector (C:N); the actual impact is exclusively availability-class.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Network-delivered crafted archive requires no auth; impact is process termination only, no confidentiality or integrity loss.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic
EUVD-2026-42303
GHSA-gvwx-54wh-qm9j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB