CVE-2026-140240

high

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.

References

https://github.com/isaacs/node-tar/security/advisories/GHSA-7c32-79xj-j3jp

https://github.com/isaacs/node-tar/releases/tag/v8.0.2

https://github.com/isaacs/node-tar/commit/de87900752566867b422de0ebfe6592b30fa9786

https://github.com/isaacs/node-tar/commit/73b352e0010d6c99794ea7374800816a46d3bdb2

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-140446

Details

Source: Mitre, NVD

Published: 2026-12-01

Updated: 2026-12-01

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

Severity: High

CVSS v3

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Severity: High

CVSS v4

Base Score: 7.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Severity: High