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.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 01 Dec 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill
Weaknesses CWE-400
References
Metrics cvssV4_0

{'score': 7.1, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-12-01T16:52:03.165Z

Reserved: 2026-11-30T22:04:22.617Z

Link: CVE-2026-140230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-12-01T17:17:35.583

Modified: 2026-12-01T17:17:35.703

Link: CVE-2026-140230

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses