Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver crafted compressed tar archive
-
DeliveryService calls x() or t() on untrusted input
-
ExploitChunks inflated synchronously and buffered without backpressure
-
ExecutionZero-size entries queue unbounded
-
ImpactNode 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
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
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
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-140431
NVD
CVE.org
Vulnrichment
GitHub
Exploit-DB