# CVE-2026-59875: node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-08T15:20:29.997Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-gvwx-54wh-qm9j
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.17, node-tar does not strip NUL bytes from PAX path and linkpath records in src/pax.ts, allowing a crafted archive with values to reach fs.lstat or fs.open and terminate the process with an uncaught exception. This issue is fixed in version 7.5.17.

(As written by CVE List.)

## Affected

- isaacs node-tar: < 7.5.17
- tar (npm): before 7.5.17

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-gvwx-54wh-qm9j> (exploit, web)
- <https://github.com/isaacs/node-tar/commit/7a635c29f5edbf083557374d43984273ecfed5b3> (web)
- <https://github.com/isaacs/node-tar/releases/tag/v7.5.17> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-59875> (advisory)
- <https://github.com/isaacs/node-tar> (package)

## Sources

- CVE List: [CVE-2026-59875](https://www.cve.org/CVERecord?id=CVE-2026-59875), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-gvwx-54wh-qm9j](https://github.com/advisories/GHSA-gvwx-54wh-qm9j), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59875](https://nvd.nist.gov/vuln/detail/CVE-2026-59875), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59875 · Whole record: https://cve.day/CVE-2026-59875.json · Rebuilt by cve.day 2026-11-25T22:59:27.393Z
