CVE-2026-59874: node-tar: Negative tar entry size causes infinite loop in archive replace
High · CVSS 7.5 (CVSS 3.1)EPSS 0.43%, 37th percentilePublished Updated Assigner: GitHub_M
Description
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · CWE-835
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
isaacs: node-tar
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5 (opens in new tab)
- github.com/isaacs/node-tar/releases/tag/v7.5.18 (opens in new tab)
- github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)