Skip to main content
CVE-2025-64118VulnerabilityPublished

CVE-2025-64118: isaacs node-tar · Race Condition

Affects isaacs node-tarSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium · fixed in 7.5.2 : update isaacs node-tar when convenient.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 2% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 7.5.2
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:L/VA:L/SC:H/SI:H/SA:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
npmnode-tarpkg:npm/node-tarOther threatsAffected
  • =7.5.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade node-tar to version 7.5.2 or later immediately to incorporate the fix addressing the race condition. 2. Avoid using the .t or .list method with { sync: true } on tar files that may be concurrently modified or truncated during read operations. Prefer asynchronous methods with proper file locking or atomic operations where possible. 3. Implement file integrity monitoring and access controls to prevent unauthorized or concurrent modifications of tar files during processing. 4. Restrict local access and user permissions to minimize the risk of malicious or accidental concurrent file changes. 5. In CI/CD or automated environments, ensure that tar files are stable and immutable during extraction or listing phases. 6. Conduct code reviews and testing to detect similar race conditions in other file handling components. 7. Monitor for any emerging exploits or advisories related to this vulnerability to respond rapidly if exploitation attempts arise.

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.

References

Community reviews

Loading reviews…