CVE-2026-140240
7.1high
node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
- Severity
- 7.1high CVSS:4.0 by GitHub_M
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| isaacs node-tar | < 8.0.2 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-140240 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-140240 changed 2026-12-01 | Public domain |