Elevated
node-tar non-finite PAX size bypasses validation, stalling tar processing
CVE-2026-140242
Node.js programs can freeze or lose files when handed a crafted archive.
- CVE
- CVE-2026-140242 (opens in a new tab)
- Score
- CVSS 7.1
- First seen
7.1
Products
Mitigation
Update node-tar to 7.5.24 or later. Until then, do not re-pack untrusted archives.
Summary
node-tar is a tar archive library for Node.js. From 7.0.0 until 7.5.24, a crafted tar file can make later archive entries disappear or crash the process when re-packed.
Affected when
Program parses, extracts, lists or re-packs tar archives from outside sources
2 other Incidents of this product in the last 30 days
Incidents by product: node-tar
Other recent Incidents of node-tar
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)node-tar · not fixed yet
- Debian 12 (bookworm)node-tar · not fixed yet
Sources: Debian Security Tracker
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)
- Repository: googlesky/CVE-2026-140242 (opens in a new tab)