Skip to main content

node-tar EUVDEUVD-2026-42303

| CVE-2026-59875 MEDIUM
Uncaught Exception (CWE-248)
2026-07-08 GitHub_M GHSA-gvwx-54wh-qm9j
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft PAX-format tar archive with NUL bytes in path/linkpath fields
  2. Delivery
    Deliver archive to application using vulnerable node-tar
  3. Exploit
    node-tar parses PAX headers without NUL sanitization
  4. Execution
    NUL-containing string reaches fs.lstat or fs.open
  5. Persist
    Uncaught exception terminates Node.js process
  6. Impact
    Denial 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

node-tar < 7.5.17

Affected Packages

npm tar fix: 7.5.17
euvd node_tar fix: 7.5.17

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

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.3 MEDIUM

Network-delivered crafted archive requires no auth; impact is process termination only, no confidentiality or integrity loss.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 17:01 EUVD

DescriptionCVE.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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 16 npm packages depend on tar (12 direct, 4 indirect)

Ecosystem-wide dependent count for version 7.5.17.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Node.js library embedded in npm toolchain and build pipelines
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA MSRC Vendor GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy