node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.

Project Subscriptions

Vendors Products
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Isaacs
Isaacs tar
Vendors & Products Isaacs
Isaacs tar

Wed, 02 Dec 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 01 Dec 2026 16:45:00 +0000

Type Values Removed Values Added
Description node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ancestor prefix. The quadratic allocation can exhaust the Node.js heap and terminate the process. The reserve() path is not used for this purpose on Windows. This issue is fixed in version 8.0.0.
Title node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS
Weaknesses CWE-400
CWE-407
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-02T19:04:04.409Z

Reserved: 2026-11-30T20:55:13.436Z

Link: CVE-2026-140118

cve-icon Vulnrichment

Updated: 2026-12-02T18:46:40.764Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-12-02T20:20:37.197

Link: CVE-2026-140118

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-12-04T03:30:22Z

Weaknesses