CVE-2026-59871
HIGH 7.5CVSS 3.1node-tar: Process crash via PAX numeric path type confusion
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.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-704
- Also known as
- GHSA-w8wr-v893-vjvp
- Sources
- NVDJSONOSV GHSA-w8wr-v893-vjvpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | isaacs | tarcpe:2.3:a:isaacs:tar:*:*:*:*:*:node.js:*:* |
< 7.5.18 | 7.5.18 |
| OSV | npm | tar | < 7.5.18 | 7.5.18 |
References
- https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b · Patch, WEB
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18 · Release Notes, WEB
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59871 · ADVISORY
- https://github.com/isaacs/node-tar · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)