Skip to main content

node-tar CVE-2026-140240

| EUVDEUVD-2026-140446 HIGH
Memory Leak (CWE-401)
2026-12-01 GitHub_M GHSA-7c32-79xj-j3jp
7.1
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Upload crafted tar archive to extraction service
  2. Exploit
    Service parses via default async Unpack API
  3. Execution
    Unbounded linkpath / long components drive quadratic getDirs bookkeeping
  4. Impact
    Node process exhausts memory or CPU and crashes

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Resource cleanup, leak prevention
Exploitation Conditions

The target application must extract attacker-supplied/untrusted tar archives using node-tar's default asynchronous API (async x / Unpack); VULN-002 (unbounded linkpath, reserved for every entry type) and VULN-023 (very long components within maxDepth) work against default async options and are triggered by a very small crafted archive. VULN-009 (reservation state never released) and VULN-012 (normalizeUnicode cache capped by entry count, not bytes) raise memory use during long-running or large async extractions. VULN-024 additionally requires that the caller supplies a file list so filesFilter memoizes path prefixes. No authentication is required (PR:N). Limiting factors: exploitation requires the service to process an untrusted archive (UI:P), affects versions below 8.0.2, and the explicitly documented paths target the default async API - synchronous or non-default usage is not characterized in the available sources.

Impact

Signals point to a genuine but bounded denial-of-service priority, not a top-tier emergency. The CVSS 4.0 base score is 7.1 with AV:N/AC:L/PR:N, meaning network-reachable, low-complexity, and no privileges - but impact is availability-only (VA:H; VC:N/VI:N), and UI:P indicates the victim service must process an attacker-supplied archive. CISA's SSVC framing is consistently modest: Exploitation=none, Automatable=no, Technical Impact=partial, which aligns with a resource-exhaustion crash rather than code execution or data compromise. The vuln.today decision label is 'this_week' (patch promptly, not act_now/emergency). There is no CISA KEV listing and no EPSS score was supplied, so widespread opportunistic exploitation is unconfirmed; the advisory does reference proof-of-concept tests (exploit_tests/evidence), so a public PoC reference exists, though it is not verified as working weaponized exploit code. One conflict to flag: the input tag 'Information Disclosure' contradicts the CVSS vector, which shows zero confidentiality/integrity impact - this is an availability (DoS) issue, so treat the disclosure tag as mislabeled. Net: real priority for any service that ingests untrusted tar archives via node-tar's default async API, warranting prompt patching, but impact ceiling is a process crash, not compromise.

Exploit ScenarioDerived

An attacker uploads a very small (few-hundred-byte) crafted tar archive to a service that extracts untrusted archives using node-tar's default asynchronous API (x/Unpack). Path-reservation bookkeeping performs quadratic work over an unbounded linkpath or long path components, exhausting memory or CPU and aborting the Node.js process. A public PoC reference exists in the GHSA advisory (exploit_tests) but is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Denial of service in node-tar (npm package tar) before 8.0.2 lets remote, unauthenticated attackers crash or stall any Node.js service that extracts attacker-supplied archives through the default asynchronous Unpack API. The vulnerability is not a memory-safety flaw: a tiny crafted tarball drives quadratic directory-prefix computation in the path-reservation layer (unbounded linkpath, or very long path components that fit inside maxDepth), while reservation state and the normalizeUnicode cache are retained for the life of an extraction, so CPU and memory grow with no limit. Fixed in 8.0.2 with vendor-released patches (commits 73b352e and de879007); the advisory ships PoC test harnesses that reproduce the crash against 7.5.22, but CISA SSVC records exploitation as none and there is no KEV listing, so this is a bounded availability risk to be scheduled in the current weekly patch cycle rather than an emergency.

RemediationAI

Upgrade to node-tar 8.0.2 (vendor-released patch; release tag v8.0.2, commits 73b352e0010d6c99794ea7374800816a46d3bdb2 and de87900752566867b422de0ebfe6592b30fa9786) per the advisory at https://github.com/isaacs/node-tar/security/advisories/GHSA-7c32-79xj-j3jp, and re-resolve lockfiles since the package is usually pulled in transitively by npm, pacote, and similar tooling - check npm ls tar and dedupe or override to force 8.0.2 across the dependency tree. Where an upgrade cannot land immediately, reduce exposure by refusing to extract archives from untrusted or unauthenticated sources at the application boundary (validation of archive size and origin before handing bytes to Unpack), and by avoiding filesFilter file-list filtering on hostile input, which is the only configuration that exercises the list.ts memoization path; both measures limit functionality for legitimate use cases that genuinely need untrusted-archive extraction. Downgrading or switching to the synchronous API is not a validated mitigation - the published reproductions target the default asynchronous API and the available sources do not characterize synchronous behavior.

Affected VersionsENISA

node-tar < 8.0.2

Affected Packages

npm tar fix: 8.0.2
euvd node_tar fix: 8.0.2

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 performs asynchronous path bookkeeping in src/path-reservations.ts: for each entry it computes every ancestor prefix of the path (and of the linkpath) via getDirs, whose cost grows with component count multiplied by string length. An earlier fix (GHSA-f5x3) bounded only the number of components of entry.path through maxDepth, leaving three gaps: linkpath was never depth- or length-bounded and is reserved for every entry type (VULN-002), so a few-hundred-byte compressed archive produces quadratic work and aborts the Node process; components that are individually enormous but few in number still blow up the same computation (VULN-023); and PathReservations.#reservations entries were never deleted (VULN-009), retaining ancestor strings until the Unpack ends. Independently, the normalizeUnicode cache in src/normalize-unicode.ts is capped at 10,000 entries rather than by bytes (VULN-012), and filesFilter in src/list.ts memoizes every path prefix when the caller supplies a file list (VULN-024), so memory scales with depth times length. The root cause class is CWE-401 (missing release of memory after effective lifetime), with advisory-side mappings to CWE-407 (inefficient algorithmic complexity) and CWE-770 (allocation without limits). The 8.0.2 fix adds MAX_PATH_LENGTH (32768) checks on both path and linkpath, rejects linkpaths deeper than maxDepth, de-duplicates and deletes reserved parent directories, deletes reservation entries on release, and drops the filesFilter memo writes in favor of recomputation. Note the affected API surface: the concrete reproduction paths target the default asynchronous x/Unpack flow; synchronous or otherwise non-default usage is not characterized in the available sources.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-delivered archive, low complexity, no privileges; victim service must process the attacker-supplied archive (UI:R); availability-only DoS, so C:N/I:N and A:H.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Dec 01, 2026 - 19:02 EUVD
CVE Published
Dec 01, 2026 - 17:28 cve.org
HIGH 7.1

DescriptionCVE.org

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

A high-severity denial-of-service vulnerability in the widely used node-tar library (npm 'tar' package) can allow remote, unauthenticated attackers to crash or stall any Node.js service that processes attacker-supplied archives. This affects the availability of customer-facing and internal applications, potentially disrupting operations and eroding trust if exploited. The risk is considered bounded-no active exploitation has been observed-but warrants prompt remediation within the standard patch cycle.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
Ubiquitous
core npm dependency; archive extraction in most Node.js production deployments
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GHSA CIRCL GitHub

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 HIGH
CISA KEV No
Public POC Yes
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

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