{"id":"CVE-2026-59871","published":"2026-07-08T15:25:09Z","modified":"2026-07-08T16:13:05Z","title":"node-tar: Process crash via PAX numeric path type confusion","vendor":"isaacs","product":"node-tar","tier":"tail","description":{"text":"node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to JavaScript numbers, causing downstream path handling such as normalizeWindowsPath(entry.path).split('/') to throw an uncaught TypeError. This issue is fixed in version 7.5.18.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00644,"percentile":0.51815,"provenance":"source"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"}],"references":[{"url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","tags":["x_refsource_MISC"]},{"url":"https://github.com/isaacs/node-tar/releases/tag/v7.5.18","tags":["x_refsource_MISC"]}],"priority":{"score":14.1,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"isaacs","affectedVersions":[{"vendor":"isaacs","product":"node-tar","versions":["< 7.5.18"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T16:12:47.672306Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"tar","vulnerableRanges":["<7.5.18"],"patched":["7.5.18"],"from":["GHSA-w8wr-v893-vjvp"],"provenance":"source"}],"summary":{"text":"node-tar, a tar archive manipulation library for Node.js, has a flaw in its PAX header parsing (src/pax.ts) where all-digit path and linkpath values are coerced to JavaScript numbers, leading downstream path handling to throw an uncaught TypeError. An attacker who can supply a crafted tar archive for node-tar to process over the network, requiring no authentication or user interaction, can crash the process running it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:49Z"},"euvd":{"id":"EUVD-2026-42308","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-isaacs-node-tar-cve-2026-23745","parents":[{"from":"CVE-2026-59875","to":"CVE-2026-59871","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.17","toFixed":"7.5.18","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/pax.ts"],"commits":["https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar/commit/7a635c29f5edbf083557374d43984273ecfed5b3"],"basis":"rarely changed file"}]},{"from":"CVE-2026-23745","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-24842","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-26960","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/2cb1120bcefe28d7ecc719b41441ade59c52e384","https://github.com/isaacs/node-tar/commit/d18e4e1f846f4ddddc153b0f536a19c050e7499f","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-29786","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]},{"from":"CVE-2026-31802","to":"CVE-2026-59871","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/unpack.ts"],"commits":["https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b"],"basis":"shared function","functions":["Unpack"]}]}],"children":[{"from":"CVE-2026-59871","to":"CVE-2026-59874","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/pax.ts"],"commits":["https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-31802","published":"2026-03-09","fixed":"7.5.11","kev":false},{"cve":"CVE-2026-53655","published":"2026-06-22","fixed":"7.5.16","kev":false},{"cve":"CVE-2026-59875","published":"2026-07-08","fixed":"7.5.17","kev":false},{"cve":"CVE-2026-59871","published":"2026-07-08","fixed":"7.5.18","kev":false},{"cve":"CVE-2026-59874","published":"2026-07-08","fixed":"7.5.18","kev":false},{"cve":"CVE-2026-59873","published":"2026-07-08","fixed":"7.5.19","kev":false,"link":{"from":"CVE-2026-59871","to":"CVE-2026-59873","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:tar","fromFixed":"7.5.18","toFixed":"7.5.19","daysApart":0}]}},{"cve":"CVE-2026-73566","published":"2026-08-13","fixed":"7.5.21","kev":false}],"package":"npm:tar"}}