CVE-2025-64118

NameCVE-2025-64118
Descriptionnode-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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-tar (PTS)bullseye (security), bullseye6.0.5+ds1+~cs11.3.9-1+deb11u2fixed
bookworm6.1.13+~cs7.0.5-1fixed
forky, sid, trixie6.2.1+~cs7.0.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-tarsource(unstable)(not affected)

Notes

- node-tar <not-affected> (Vulnerable code not present)
https://github.com/isaacs/node-tar/security/advisories/GHSA-29xp-372q-xqph
https://github.com/isaacs/node-tar/pull/446
Introduced with: https://github.com/isaacs/node-tar/commit/5330eb04bc43014f216e5c271b40d5c00d45224d (v7.5.1)
Fixed by: https://github.com/isaacs/node-tar/commit/5e1a8e638600d3c3a2969b4de6a6ec44fa8d74c9 (v7.5.2)

Search for package or bug name: Reporting problems