CVE-2026-140240
JSON

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 packageVersionsReported by
isaacs node-tar< 8.0.2CVE List

Classification

CWE-401CWE-407CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-140240 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-140240 changed 2026-12-01Public domain