CVE-2026-140240
node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
- Severity
- high CVSS 7.1 (v4.0)
- Affects
- node-tar · isaacs
- Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
- Published
- 1 December 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.