ZeroDay Brief
CVE-2026-140230

Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation.

CVSS
7.1High
Chance of exploitation (EPSS)
0.81%
Published
Dec 1, 2026
In the news
1 story
More from this vendor

What to do

A serious resource exhaustion flaw in Isaacs Node-tar that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Isaacs Node-tar
< 8.0.0

Description

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDirs() allocation. A small crafted archive can exhaust the available Node.js heap and terminate the process. This issue is fixed in version 8.0.0.

CWE-400

Affected products

Get alerts for these →

Timeline 5

Latest change: tar: node-tar: Denial of service via unbounded memory allocation bypassing maxDecompressionRatio (Dec 4, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 4

  • github.com /isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2
  • github.com /isaacs/node-tar/releases/tag/v8.0.0
  • github.com /isaacs/node-tar/security/advisories/GHSA-xm6h-2993-3ch9
  • github.com /isaacs/node-tar/security/advisories/GHSA-xm6h-2993-3ch9

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”