{"id":"CVE-2026-140230","aliases":["CVE-2026-140230"],"related":[],"kind":"vulnerability","state":"published","title":"node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink linkpath depth — uncatchable OOM process kill","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-12-01T16:52:03.165Z","modified":"2026-12-01T17:17:35.703Z","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"],"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-xm6h-2993-3ch9","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-140230","url":"https://www.cve.org/CVERecord?id=CVE-2026-140230","licence":"CVE Terms of Use","modified":"2026-12-01T16:52:03.165Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-140230","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-140230","licence":"Public domain","modified":"2026-12-01T17:17:35.703Z"}],"updatedAt":"2026-12-01T17:32:44.892Z"}