Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-64118 EUVD-2025-37034GHSA-29xp-372q-xqph

node-tar vulnerable to race condition leading to uninitialized memory exposure

Published Oct 30, 2025 · Updated Oct 30, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
isaacs node-tar = 7.5.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-tar No fix yet —
Ubuntu 26.04 LTS node-tar No fix yet —
Ubuntu 25.10 node-tar No fix yet —
Ubuntu 24.04 LTS node-tar No fix yet —
Ubuntu 22.04 LTS node-tar No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS node-tar No fix yet —
Ubuntu Pro 20.04 LTS node-tar No fix yet —
Ubuntu Pro 16.04 LTS node-tar No fix yet —
Ubuntu Pro 14.04 LTS node-tar No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling node-gyp 12.0.0-r0 —
Wolfi rolling renovate 41.169.3-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tar >= 7.5.1, < 7.5.2 7.5.2 GHSA-29xp-372q-xqph

Advisories 1

References