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.
Severity (CVSS)
| Base score | 5.3 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Provided by | CNA |
Weaknesses
- CWE-704 — CWE-704: Incorrect Type Conversion or Cast
Affected products
| Vendor | Product | Versions |
|---|---|---|
| isaacs | node-tar | < 7.5.18 |
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-w8wr-v893-vjvp (x_refsource_CONFIRM)
- https://github.com/isaacs/node-tar/commit/e02a4e9e013c4be95302e2eb2047a942b883c27b (x_refsource_MISC)
- https://github.com/isaacs/node-tar/releases/tag/v7.5.18 (x_refsource_MISC)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.