CVE Professor
/
All CVEs
CVE-2026-140231

CVE-2026-140231 — Tar — CWE-409 · CWE-770

HIGH CVSS 7.1 ⚡ EPSS 0.6% GitHub

### Summary The GHSA-23hp-3jrh-7fp fix (7.5.19, commit 2812e93) aborts when the total decompressed size exceeds `maxDecompressionRatio` times the compressed size. That limits total work, not how much is held in memory at once. When reading from a file, each read chunk is inflated synchronously and its output is buffered in a paused `ReadEntry`, so memory use isn't bounded while staying under the ratio. In the same write, zero-size entries are queued without any limit. ### Details | # | Location | Default options | |---|---|---| | VULN-008 | `src/parse.ts:576-577, 551-555, 343` → `src/read-entry.ts:131` | Yes (`x({file})`, `t({file})`) | | VULN-011 | `src/parse.ts:268-273` (same root cause) | Yes | ### Proof of concept `exploit_tests/test_vuln_008_*` and `_011_` measure memory for a control archive and an attack archive against the unmodified 7.5.22 build. Output is in `exploit_tests/evidence/`. The tests were run on macOS. ### Impact 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. ### Suggested fix Queue compressed input and inflate in small slices only while consumers aren't paused, and stop accepting zero-size entries while the queue is non-empty. One patch covering both was validated on a copy of the source (`fixes/VULN-008.diff`). **Versions:** tested on 7.5.22 (main @ 2a22bfc). 7.5.23 changes only the publishing workflow (no `src/` changes), so

### Summary The GHSA-23hp-3jrh-7fp fix (7.5.19, commit 2812e93) aborts when the total decompressed size exceeds `maxDecompressionRatio` times the compressed size. That limits total work, not how much is held in memory at once. When reading from a file, each read chunk is inflated synchronously and its output is buffered in a paused `ReadEntry`, so memory use isn't bounded while staying under the ratio. In the same write, zero-size entries are queued without any limit. ### Details | # | Location | Default options | |---|---|---| | VULN-008 | `src/parse.ts:576-577, 551-555, 343` → `src/read-entry.ts:131` | Yes (`x({file})`, `t({file})`) | | VULN-011 | `src/parse.ts:268-273` (same root cause) | Yes | ### Proof of concept `exploit_tests/test_vuln_008_*` and `_011_` measure memory for a control archive and an attack archive against the unmodified 7.5.22 build. Output is in `exploit_tests/evidence/`. The tests were run on macOS. ### Impact 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. ### Suggested fix Queue compressed input and inflate in small slices only while consumers aren't paused, and stop accepting zero-size entries while the queue is non-empty. One patch covering both was validated on a copy of the source (`fixes/VULN-008.diff`). **Versions:** tested on 7.5.22 (main @ 2a22bfc). 7.5.23 changes only the publishing workflow (no `src/` changes), so

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.6%
30-day probability
In the 52. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-140231
CVSS 7.1/10 · HIGH · 01.12.2026
CWE: CWE-409, CWE-770
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

The GHSA-23hp-3jrh-7fp fix (7.5.19, commit 2812e93) aborts when the total decompressed size exceeds maxDecompressionRatio times the compressed size. That limits total work, not how much is held in memory at once. When reading from a file, each read chunk is inflated synchronously and its output is buffered in a paused ReadEntry, so memory use isn't bounded while staying under 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-409 CWE-770
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-144572
@libp2p/kad-dht through 16.4.11 contains a record validation bypass in verifyRecord that allows unauthenticate
8.7
CVE-2026-145021
Zebra before 7.1.0 contains an uncontrolled resource consumption vulnerability that allows unauthenticated cli
8.2
CVE-2026-144617
Traccar 6.13.0 before 6.18.0 contains a denial of service vulnerability that allows remote attackers knowing a