CVE-2026-140230
JSON

7.1high

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

Severity
7.1high CVSS:4.0 by GitHub_M
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
isaacs node-tar< 8.0.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140230 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140230 changed 2026-12-01Public domain