Elevated
node-tar archive handling can exhaust memory or CPU
CVE-2026-140240
A Node.js tool that unpacks archives can be stalled by a tiny file.
- CVE
- CVE-2026-140240 (opens in a new tab)
- Score
- CVSS 7.1
- First seen
7.1
Products
Mitigation
Update node-tar to 8.0.2.
Summary
A very small crafted tar archive can make node-tar use up memory or CPU. Services that extract untrusted archives with the default async API are affected, through version 8.0.2 excluded.
Exploit code is public
Affected when
- CVE-2026-140240 extracting untrusted archives with the default async API
- CVE-2026-140240 using filesFilter with a caller-supplied file list
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-140240 (opens in a new tab)