node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
- CVE-2026-140240
- GHSA-7c32-79xj-j3jp
- EUVD-2026-140446
Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.
Text from the CVE.org record.
Recommendation
tar
- If you run a version before 8.0.2update to 8.0.2 or latertar 8.0.2 on its registry (opens in a new tab)
Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
isaacs node-tar
Affected versions Fixed in < 8.0.2 none stated tarnpm
Affected versions Fixed in before 8.0.2 8.0.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.