CVE-2026-59874CWE-835
node-tar: Negative tar entry size causes infinite loop in archive replace
High · published July 8, 2026
What it is
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.
The record
Technical detail
- CVSS v4.0
- 8.7 · HIGH
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS
- 0.00434 · 36.6th percentile
- Weakness
- CWE-835 · Loop with Unreachable Exit Condition ('Infinite Loop')
- Published
- 2026-07-08T15:23Z
EPSS history
Timeline