Skip to main content

node-tar EUVDEUVD-2026-140431

| CVE-2026-140231 HIGH
Improper Handling of Highly Compressed Data (Data Amplification) (CWE-409)
2026-12-01 GitHub_M
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
    Deliver crafted compressed tar archive
  2. Delivery
    Service calls x() or t() on untrusted input
  3. Exploit
    Chunks inflated synchronously and buffered without backpressure
  4. Execution
    Zero-size entries queue unbounded
  5. Impact
    Node process memory exhausted, denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Compression ratio limits
Exploitation Conditions

Exploitable when a service extracts (x({file})) or lists (t({file})) untrusted COMPRESSED (e.g. gzip) tar archives using node-tar prior to 8.0.0 - this is the default configuration of those APIs, no special option needed. The flaw lives specifically in the decompression/read path: inflated chunks are buffered in a paused ReadEntry with no backpressure and zero-size entries queue without limit, so the amplification stays under the maxDecompressionRatio guard added in 7.5.19. Limiting factors: the attacker must be able to get a crafted compressed archive processed by the service (so it only matters where untrusted archives are ingested), the impact is confined to availability (process memory/DoS) with no code execution or data exposure, and it is not mass-automatable (per-target delivery required). No authentication is required (PR:N).

Impact

This is a moderate-severity availability issue, not a confidentiality one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VA:H, VC:N/VI:N) and the description agree: remote, low-complexity, no-authentication trigger whose only impact is resource (memory) exhaustion - there is no data exposure despite the 'Information Disclosure' tag, which contradicts the vector. Decision signals are consistent and point to a real-but-not-urgent priority: CISA-style SSVC reports Exploitation:none, Automatable:no, Technical Impact:partial, and the vuln.today Decision label is this_week (not act_now/emergency). No EPSS score was provided and the input shows no KEV listing, so there is no evidence of active exploitation; exploitation status is 'no confirmed active exploitation.' A PoC reference exists but is not public working exploit code (the reproduction bundle is described as held in a private fork), and Automatable:no reflects that a per-target crafted archive and a service that ingests it are needed rather than mass internet scanning. Net: a genuine DoS worth patching on a normal cycle for services that extract untrusted compressed archives, but not a drop-everything emergency, and raw CVSS 7.1 overstates urgency relative to the SSVC/decision signals.

Exploit ScenarioDerived

An attacker uploads a specially crafted gzip-compressed tar archive to a service that automatically extracts or lists archive contents (e.g. a build, backup, or file-processing pipeline using node-tar's x() or t() with a file). Because inflated output is buffered in a paused ReadEntry without backpressure and zero-size entries queue without bound, the archive stays under maxDecompressionRatio yet forces the Node process to allocate far more memory than the archive size implies, crashing it or starving the host. A PoC measuring memory for control vs. attack archives is referenced in the advisory but is not published as working exploit code.

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

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

Alert me

AnalysisAIv1 – Dec 02, 2026

Unbounded memory growth in node-tar (isaacs/node-tar) before 8.0.0 lets a service that extracts or lists untrusted compressed archives exhaust process memory and crash, even though total decompressed output stays within the maxDecompressionRatio guard introduced in the 7.5.19 fix. The flaw is in the default decompression/read path used by x({file}) and t({file}): inflated chunks are buffered in a paused ReadEntry without backpressure, and zero-size entries are queued without any bound, so a small archive can force memory use far beyond its apparent size. Impact is availability-only (C:N/I:N/A:H, no code execution or data exposure), remote and unauthenticated per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:N vector; no public working exploit code is confirmed, the reporter instead documented a proof-of-concept memory measurement in a reproduction bundle supplied privately, and CISA SSVC records Exploitation: none and Automatable: no. A vendor-released fix exists in 8.0.0.

RemediationAI

Vendor-released patch: upgrade the tar package to 8.0.0 or later (npm install tar@8.0.0), which includes commit da66090c7a44b2140bd4a6343c478a8e411e1aa7 queueing compressed input and inflating in small slices only while consumers are not paused, and refusing zero-size entries while the queue is non-empty (see https://github.com/isaacs/node-tar/security/advisories/GHSA-9hmx-4f52-v64x and https://github.com/isaacs/node-tar/releases/tag/v8.0.0). Because tar is often a transitive dependency, run npm ls tar to locate nested copies and override them (npm overrides / resolutions) rather than assuming a top-level bump covers the whole tree; note that 8.0.0 is a major release, so verify API compatibility before rolling out. Where upgrading cannot be done immediately, avoid passing untrusted compressed archives to x({file}) or t({file}) - decompress out-of-band and only hand trusted input to the parser - and confine extraction to a worker or container with a hard memory cap (cgroup/RSS limit, node --max-old-space-size, or ulimit -v) so that exceeding the bound kills the worker rather than the host process; the trade-off is that memory-limited extraction can still fail on legitimately large archives, and capping alone converts the denial of service into a per-request failure rather than removing the vulnerability.

Affected VersionsENISA

node-tar < 8.0.0

Affected Packages

euvd node_tar fix: 8.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

node-tar is the widely deployed tar archive library for Node.js maintained by isaacs, used directly and transitively (npm tooling, build pipelines, archive-processing services). Its streaming parser (src/parse.ts) feeds decompressed data into a ReadEntry consumer; when the consumer pauses, output is held in memory. The earlier GHSA-23hp hardening in 7.5.19 (commit 2812e93) added maxDecompressionRatio, which aborts once total decompressed bytes exceed a multiple of the compressed size - this caps total work, not in-flight memory. Because each read chunk is inflated synchronously and buffered in the paused entry, memory consumption is not bounded while still under the ratio, and zero-size entries are enqueued with no limit at all. The advisory tags the affected code paths as src/parse.ts:576-577, 551-555 and 343 into src/read-entry.ts:131, plus a same-root-cause path at src/parse.ts:268-273. Root cause class is CWE-409 (improper handling of highly compressed data) with CWE-770 (allocation of resources without limits or throttling); the trigger is heap/memory exhaustion in the Node.js process, not parser corruption or path traversal.

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 7.5 HIGH

Remote, no auth, and no special config to feed a service an untrusted compressed archive, so AV:N/AC:L/PR:N/UI:N; impact is memory-exhaustion DoS only, hence A:H and C:N/I:N.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/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 - 18:03 EUVD
CVE Published
Dec 01, 2026 - 16:53 cve.org
HIGH 7.1

DescriptionCVE.org

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound. A service that extracts or lists untrusted compressed archives can be made to use much more memory than the archive size suggests, without hitting the ratio limit. The affected security path includes maxDecompressionRatio, ReadEntry, src/parse.ts:576-577, 551-555, 343. This issue is fixed in version 8.0.0.

Executive ViewAI

Why It Matters

CVE-2026-140231 is a high-severity availability vulnerability in the widely-used node-tar library (versions before 8.0.0) that can allow an unauthenticated remote attacker to exhaust server memory and crash services that process untrusted archives, such as CI/CD systems, package managers, or file-upload handlers. This could lead to service disruptions, loss of productivity, and potential SLA violations, affecting both internal operations and customer-facing services. Leadership should prioritize remediation because the vulnerability is easy to trigger with a small malicious archive, and a patch is already available.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

Prevalence
High
node-tar is a near-universal Node.js dependency, bundled with npm itself
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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 No
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
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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