Skip to main content
← All vulnerabilities
CVE-2026-59874GHSA-8X88-C5MF-7J5W

node-tar: Negative tar entry size causes infinite loop in archive replace

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.18
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

node-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256 encoded entry size, causing the archive scanner to make no progress while repeatedly parsing the same header. This issue is fixed in version 7.5.18.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • isaacs node-tar

    fixed in 7.5.18

  • tarnpm

    fixed in 7.5.18

References 3

GitHub · isaacs/node-tar