{"id":"CVE-2026-140118","aliases":["CVE-2026-140118"],"related":[],"kind":"vulnerability","state":"published","title":"node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing uncatchable OOM DoS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T16:42:51.681Z","modified":"2026-12-01T17:17:35.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":7.1,"rating":"HIGH"}],"cwes":["CWE-400","CWE-407"],"affected":[{"ranges":[{"version":"< 8.0.0","status":"affected"}],"vendor":"isaacs","product":"node-tar","source":"cvelist"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-343g-5v7x-x325","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/isaacs/node-tar/releases/tag/v8.0.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-140118","url":"https://www.cve.org/CVERecord?id=CVE-2026-140118","licence":"CVE Terms of Use","modified":"2026-12-01T16:42:51.681Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140118","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140118","licence":"Public domain","modified":"2026-12-01T17:17:35.190Z"}],"updatedAt":"2026-12-01T17:32:22.946Z"}