freenode

← CVE tracker

CVE-2026-140230

node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill

Severity
high CVSS 7.1 (v4.0)
Affects
node-tar · isaacs
Weakness
CWE-400: Uncontrolled Resource Consumption
Published
1 December 2026 by GitHub_M
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.

Our coverage

We have not written about this one. Know why it matters? Send a tip.