{"id":"CVE-2026-59871","revision":null,"records":[{"revision":"5179e924f2644439a30144dba59d5877","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59871","aliases":[],"title":"node-tar: Process crash via PAX numeric path type confusion","description":"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.","state":0,"publishedAt":"2026-07-08T15:25:09.519+00:00","modifiedAt":"2026-07-08T16:13:05.563+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"isaacs\",\n                    \"product\": \"node-tar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.5.18\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar/releases/tag/v7.5.18"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59871","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59871","identifiers":["CVE-2026-59871"]},"retained":false,"historicalAffected":[]},{"revision":"c6dc927c1eb8499d99d9d53ae75ef862","observedAt":"2026-11-07T13:25:50.989+00:00","statement":{"source":"euvd","id":"EUVD-2026-42308","aliases":["CVE-2026-59871","GHSA-w8wr-v893-vjvp"],"title":"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.pa…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":null}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar/releases/tag/v7.5.18"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-42308","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 8, 2026, 3:25:09 PM","dateUpdated":"Jul 8, 2026, 4:13:05 PM"},"relatedAdvisories":[{"id":"NCSC-2026-0325","title":"Kwetsbaarheden verholpen in Atlassian producten","vulnerabilityIds":["CVE-2021-44906","CVE-2022-3517","CVE-2023-45133","CVE-2025-14813","CVE-2026-0603","CVE-2026-2332","CVE-2026-3505","CVE-2026-4800","CVE-2026-6321","CVE-2026-6322","CVE-2026-10050","CVE-2026-12143","CVE-2026-12151","CVE-2026-12802","CVE-2026-12803","CVE-2026-12816","CVE-2026-13149","CVE-2026-13506","CVE-2026-13676","CVE-2026-14257","CVE-2026-14682","CVE-2026-16221","CVE-2026-18446","CVE-2026-21582","CVE-2026-24734","CVE-2026-25639","CVE-2026-27601","CVE-2026-27606","CVE-2026-29786","CVE-2026-40983","CVE-2026-40984","CVE-2026-41284","CVE-2026-41842","CVE-2026-41845","CVE-2026-41850","CVE-2026-41851","CVE-2026-41907","CVE-2026-42033","CVE-2026-42035","CVE-2026-42041","CVE-2026-42198","CVE-2026-42583","CVE-2026-42587","CVE-2026-43513","CVE-2026-44249","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44490","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45416","CVE-2026-45623","CVE-2026-46625","CVE-2026-47838","CVE-2026-48043","CVE-2026-48779","CVE-2026-48801","CVE-2026-50010","CVE-2026-53434","CVE-2026-54291","CVE-2026-54512","CVE-2026-54513","CVE-2026-55685","CVE-2026-55831","CVE-2026-55833","CVE-2026-56745","CVE-2026-56819","CVE-2026-58059","CVE-2026-58060","CVE-2026-59639","CVE-2026-59642","CVE-2026-59869","CVE-2026-59871","CVE-2026-59873","CVE-2026-59874","CVE-2026-59887","CVE-2026-59901","CVE-2026-67320","CVE-2026-69152","CVE-2026-69192"]},{"id":"WID-SEC-W-2026-2923","title":"Atlassian Produkte (Bamboo, Bitbucket, Confluence, Crucible, Fisheye, und Jira): Mehrere Schwachstellen","vulnerabilityIds":["CVE-2019-13990","CVE-2021-44906","CVE-2022-1471","CVE-2022-23521","CVE-2022-3517","CVE-2022-41903","CVE-2023-22518","CVE-2023-22522","CVE-2023-22523","CVE-2023-22524","CVE-2023-22527","CVE-2023-45133","CVE-2023-46604","CVE-2025-14813","CVE-2026-0603","CVE-2026-10050","CVE-2026-12143","CVE-2026-12151","CVE-2026-12802","CVE-2026-12803","CVE-2026-12816","CVE-2026-13149","CVE-2026-13506","CVE-2026-13676","CVE-2026-14257","CVE-2026-14682","CVE-2026-16221","CVE-2026-18446","CVE-2026-21582","CVE-2026-2332","CVE-2026-24734","CVE-2026-25639","CVE-2026-27601","CVE-2026-27606","CVE-2026-29786","CVE-2026-3505","CVE-2026-40983","CVE-2026-40984","CVE-2026-41284","CVE-2026-41842","CVE-2026-41845","CVE-2026-41850","CVE-2026-41851","CVE-2026-41907","CVE-2026-42033","CVE-2026-42035","CVE-2026-42041","CVE-2026-42198","CVE-2026-42583","CVE-2026-42587","CVE-2026-43513","CVE-2026-44249","CVE-2026-44486","CVE-2026-44487","CVE-2026-44488","CVE-2026-44490","CVE-2026-44492","CVE-2026-44494","CVE-2026-44495","CVE-2026-44496","CVE-2026-45416","CVE-2026-45623","CVE-2026-46625","CVE-2026-47838","CVE-2026-4800","CVE-2026-48043","CVE-2026-48779","CVE-2026-48801","CVE-2026-50010","CVE-2026-53434","CVE-2026-54291","CVE-2026-54512","CVE-2026-54513","CVE-2026-55685","CVE-2026-55831","CVE-2026-55833","CVE-2026-56745","CVE-2026-56819","CVE-2026-58059","CVE-2026-58060","CVE-2026-59639","CVE-2026-59642","CVE-2026-59869","CVE-2026-59871","CVE-2026-59873","CVE-2026-59874","CVE-2026-59887","CVE-2026-59901","CVE-2026-6321","CVE-2026-6322","CVE-2026-67320","CVE-2026-69152","CVE-2026-69192"]},{"id":"msrc_CVE-2026-59871","title":"node-tar: Process crash via PAX numeric path type confusion","vulnerabilityIds":["CVE-2026-59871"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-42308","identifiers":["EUVD-2026-42308","CVE-2026-59871","GHSA-w8wr-v893-vjvp"]},"retained":false,"historicalAffected":[]},{"revision":"312ab42a878948b89e41b0df982e43a9","observedAt":"2026-10-27T15:15:33.457+00:00","statement":{"source":"nvd","id":"CVE-2026-59871","aliases":[],"title":"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.pa…","description":"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.","state":0,"publishedAt":"2026-07-08T16:16:33.723+00:00","modifiedAt":"2026-10-25T20:10:00.147+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar/releases/tag/v7.5.18","https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-59871","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-704"],"productCriteria":["cpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-07-08T16:16:33.723","lastModified":"2026-10-25T20:10:00.147"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-59871","identifiers":["CVE-2026-59871"]},"retained":false,"historicalAffected":[]},{"revision":"c94324f3b58640edaa54fdb7dc25c710","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-w8wr-v893-vjvp","aliases":["CVE-2026-59871"],"title":"node-tar: Process crash via PAX numeric path type confusion","description":"### Summary\n\nA crafted 2.5KB tar archive crashes any Node.js process that extracts it. The PAX header parser coerces all-digit path values to JavaScript numbers, which causes an uncaught TypeError when downstream code calls `.split('/')` on the numeric value. Error handlers and `strict: false` cannot intercept the crash.\n\n### Details\n\nIn `pax.ts` line 180, `parseKV` converts PAX values matching `/^[0-9]+$/` to numbers via `+v`. This applies to all fields including `path` and `linkpath`. When a PAX header sets `path` to an all-digit string like `\"12345\"`, the value becomes the number `12345`.\n\nThis number flows through Header -> ReadEntry -> Unpack.CHECKPATH, where `normalizeWindowsPath(entry.path).split('/')` throws a TypeError because numbers don't have `.split()`.\n\nThe throw is synchronous during event emission and bypasses all error handling:\n- `strict: false` does not help\n- `'error'` event handlers do not catch it\n- `'warn'` handlers do not catch it\n- The TypeError propagates through the event emitter stack as an uncaughtException\n\nDirectory, SymbolicLink, and Link type entries reach CHECKPATH and crash. File type entries crash earlier in Header constructor at `this.path.slice(-1)`, but that throw is caught and emitted as a warning only.\n\n### PoC\n\nCreate a tar archive with a PAX extended header containing an all-digit path:\n\n```\nPAX header body: \"18 path=12345\\n\"\nEntry type: Directory (type '5')\n```\n\nExtract it:\n```js\nconst tar = require('tar');\n\n// All of these crash with TypeError: t.split is not a function\ntar.extract({ file: 'malicious.tar', cwd: '/tmp/test' });\n\n// Error handlers don't help:\ntar.extract({ file: 'malicious.tar', cwd: '/tmp/test', strict: false })\n  .on('error', (err) => { /* never reached */ })\n  .on('warn', (code, msg) => { /* never reached */ });\n```\n\nThe archive is ~2.5KB. The crash is deterministic on every attempt.\n\n### Impact\n\nDenial of service. Any application or tool that extracts untrusted tar archives crashes from a single small file. This includes npm (which uses node-tar to extract packages), CI/CD pipelines, file upload processors, and backup tools. The crash cannot be caught by application-level error handling.","state":0,"publishedAt":"2026-07-20T21:53:14+00:00","modifiedAt":"2026-09-10T03:51:12.3629785+00:00","affected":[{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.5.18"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp","https://nvd.nist.gov/vuln/detail/CVE-2026-59871","https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b","https://github.com/isaacs/node-tar","https://github.com/isaacs/node-tar/releases/tag/v7.5.18"],"sourceUrl":"https://github.com/advisories/GHSA-w8wr-v893-vjvp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-w8wr-v893-vjvp","identifiers":["GHSA-w8wr-v893-vjvp","CVE-2026-59871"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-08T00:58:20.0381425+00:00","complete":true,"records":1769,"lastAttemptAt":"2026-11-08T00:58:20.0381425+00:00","lastSuccessAt":"2026-11-08T00:58:20.234403+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:20.2344045+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-eaa64dac63caa79c8d4905619258c41c51b39e461b996124e1a21b5e85e7e738-8739c76e681f900923b900c9df0ef75cf421d39cabb54650c4b9ad19b6a76d85","complete":true,"records":420948,"lastAttemptAt":"2026-11-08T00:58:19.5474871+00:00","lastSuccessAt":"2026-11-08T00:58:19.5440714+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:19.5474871+00:00","snapshotPublishedAt":"2026-11-08T00:38:35+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-ad87bff7c148433b81b0b6fb77a1e89f","complete":false,"records":13633,"lastAttemptAt":"2026-11-08T00:59:02.3676586+00:00","lastSuccessAt":"2026-11-08T00:59:02.4251609+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:59:02.4251609+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-08T00:58:20.0381425+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-08T00:58:20.0381425+00:00","lastSuccessAt":"2026-11-08T00:58:20.2355761+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:20.2355765+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-24edbbb236a743e8a4d448125d443c2d","complete":true,"records":13645,"lastAttemptAt":"2026-11-08T00:58:47.8693313+00:00","lastSuccessAt":"2026-11-08T00:58:47.866+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:47.866+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13685,"expectedIdentifiers":13685,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-0eb4d6dde62dffacd040ad992d4fd5a65cd7d0dc5f5f4cfa8b41967fc6f9ca5f","complete":true,"records":9914,"lastAttemptAt":"2026-11-08T00:58:19.8993659+00:00","lastSuccessAt":"2026-11-06T20:10:36.6450506+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:19.8993659+00:00","snapshotPublishedAt":"2026-11-06T20:02:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-fde804134ecdda0ddd5ff5c26ee1fff5a6fa659311f7ef2e51c6ad54964db0e2","complete":true,"records":1971,"lastAttemptAt":"2026-11-08T00:58:19.6925551+00:00","lastSuccessAt":"2026-11-06T19:03:17.0399903+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:19.6925551+00:00","snapshotPublishedAt":"2026-11-06T18:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-335633e78a15c9cde10a6025895b5617717087fb945489ae7e15d377bacf34a9","complete":true,"records":3055,"lastAttemptAt":"2026-11-08T00:58:19.9110602+00:00","lastSuccessAt":"2026-11-06T16:03:00.7615789+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:19.9110602+00:00","snapshotPublishedAt":"2026-11-06T16:02:48+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-40ad6183a951565ace1520a9b4d631e1d0bfb1d4bf7c5574c375032559f3ff53","complete":true,"records":231292,"lastAttemptAt":"2026-11-08T00:58:19.7947869+00:00","lastSuccessAt":"2026-11-07T10:29:00.4821259+00:00","error":null,"lastVerifiedAt":"2026-11-08T00:58:19.7947869+00:00","snapshotPublishedAt":"2026-11-07T09:32:47+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}