Skip to content

CVE-2025-64118 node-tar vulnerable to race condition leading to uninitialized memory exposure

MediumCVSS 6.1 EPSS 0.14%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

node-tar is a Tar for Node.js. In 7.5.1, using .t (aka .list) with { sync: true } to read tar entry contents returns uninitialized memory contents if tar file was changed on disk to a smaller size while being read. This vulnerability is fixed in 7.5.2.

Upgrade path

6 packages: 1 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/node-tar(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/node-tar(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/node-tar(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/node-tar(Ubuntu 26.10) All versions No fix listed No fix yet
npm tar(npm) = 7.5.1; >= 7.5.1, < 7.5.2 7.5.2 Fixed
isaacs node-tar = = 7.5.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm tar(npm) = 7.5.1 No fix listed
isaacs node-tar = = 7.5.1 No fix listed
ubuntu/node-tar(Ubuntu:22.04) All versions No fix listed
ubuntu/node-tar(Ubuntu:24.04) All versions No fix listed
ubuntu/node-tar(Ubuntu:26.04) All versions No fix listed
ubuntu/node-tar(Ubuntu:26.10) All versions No fix listed
npm tar(npm) >= 7.5.1, < 7.5.2 7.5.2

References