Bug 2588049 (CVE-2026-140118) - CVE-2026-140118 tar: node-tar: Denial of Service via excessive memory allocation from deeply nested link paths
Summary: CVE-2026-140118 tar: node-tar: Denial of Service via excessive memory allocat...
Keywords:
Status: NEW
Alias: CVE-2026-140118
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-01 16:52 UTC by OSIDB Bzimport
Modified: 2026-12-01 18:31 UTC (History)
147 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-01 16:52:19 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.