CVE Professor
/
All CVEs
CVE-2026-140241

CVE-2026-140241 — Tar — CWE-248 · CWE-755

HIGH CVSS 7.1 ⚡ EPSS 0.8% GitHub

### Summary An unauthenticated remote-input denial of service allows a four-byte file to crash any process that lists or extracts it with node-tar's asynchronous file API, on any Node runtime without native zlib zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7, all of which satisfy the package's declared `engines: node >= 18`). node-tar's default-enabled compression sniffing detects the zstd magic (`28 b5 2f fd`) and constructs `new ZstdDecompress({})` with no error handling. On a runtime without the zstd binding, minizlib's constructor throws a `TypeError` synchronously inside the file-read stream's data callback, so the async `tar.t()` / `tar.x()` promise never settles and the exception is uncaught, killing the process. ### Details `Parser.write()` sniffs the first bytes of every input and, on the zstd magic, constructs the decompressor unguarded: ```ts // src/parse.ts:547-550 this[UNZIP] = this[UNZIP] === undefined ? new Unzip({}) : isZstd ? new ZstdDecompress({}) // throws TypeError on a runtime without native zstd : new BrotliDecompress({}) ``` `minizlib`'s `ZlibBase` constructor throws `TypeError: Compression method not supported: ZstdDecompress` when `node:zlib` lacks the binding. Because this construction runs inside the file-read stream's `data` handler (`ReadStream.emit` -> `Unpack.write` -> `new ZstdDecompress`), the throw is not routed through the stream's `error` event or `Parser.abort()`. For the async file form (`tar.x({file})` / `tar.t({fi

### Summary An unauthenticated remote-input denial of service allows a four-byte file to crash any process that lists or extracts it with node-tar's asynchronous file API, on any Node runtime without native zlib zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7, all of which satisfy the package's declared `engines: node >= 18`). node-tar's default-enabled compression sniffing detects the zstd magic (`28 b5 2f fd`) and constructs `new ZstdDecompress({})` with no error handling. On a runtime without the zstd binding, minizlib's constructor throws a `TypeError` synchronously inside the file-read stream's data callback, so the async `tar.t()` / `tar.x()` promise never settles and the exception is uncaught, killing the process. ### Details `Parser.write()` sniffs the first bytes of every input and, on the zstd magic, constructs the decompressor unguarded: ```ts // src/parse.ts:547-550 this[UNZIP] = this[UNZIP] === undefined ? new Unzip({}) : isZstd ? new ZstdDecompress({}) // throws TypeError on a runtime without native zstd : new BrotliDecompress({}) ``` `minizlib`'s `ZlibBase` constructor throws `TypeError: Compression method not supported: ZstdDecompress` when `node:zlib` lacks the binding. Because this construction runs inside the file-read stream's `data` handler (`ReadStream.emit` -> `Unpack.write` -> `new ZstdDecompress`), the throw is not routed through the stream's `error` event or `Parser.abort()`. For the async file form (`tar.x({file})` / `tar.t({fi

CVSS v4.0 Vector Metrics
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
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction Passive UI:P
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. High VA:H
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
0.8%
30-day probability
In the 59. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140241
CVSS 7.1/10 · HIGH · 01.12.2026
CWE: CWE-248, CWE-755
Vector: 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
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
An unauthenticated remote-input denial of service allows a four-byte file to crash any process that lists or extracts it with node-tar's asynchronous file API, on any Node runtime without native zlib zstd support (Node 18.x, 20.x, 21.x, 22.0-22.14, 23.0-23.7, all of which satisfy the package's declared engines: node >= 18). node-tar's default-enabled compression sniffing detects t…
Affected: tar

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · user interaction required (UI:R) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); service can be completely taken down.

🛡️ REMEDIATION
→ Apply vendor security update for tar.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
⚠️ This week (7 days) — High risk, anonymous remote.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
7.1 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-248 CWE-755
Affected Products (1)
tar
References & Advisories (4)
Related CVEs
9.8
CVE-2026-145055
PraisonAI pip praisonai before 4.8.0, praisonaiagents and npm praisonai before 1.8.0, and praisonai-bot, prais
9.0
CVE-2026-126111
Missing secure processing in the XSLT transformer of the Velocity $xslttool view tool in dotCMS allows a back-
8.8
CVE-2026-77471
shell-chain is a PQVM-native, post-quantum blockchain. Prior to version 0.27.1, the finality vote aggregation
8.7
CVE-2026-137408
In Eclipse Yasson versions 1.0 through 1.0.11, 2.0 through 2.0.4, and 3.0 through 3.0.6, the deserializers for
8.7
CVE-2026-144590
adm-zip through 0.6.1 contains a denial of service vulnerability that allows remote attackers to crash Node.js
7.7
CVE-2026-144420
### Summary A ServiceEntry that claims an IP-addressed waypoint's address crashes istiod mesh-wide (ambient m
7.5
CVE-2026-144412
### Summary An unauthenticated sender able to deliver a UDP datagram larger than 4096 bytes to a Windows Devi