{"id":"CVE-2026-59874","aliases":["GHSA-8x88-c5mf-7j5w"],"url":"https://o3.security/vulnerability/CVE-2026-59874","summary":"node-tar: Negative tar entry size causes infinite loop in archive replace","details":"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.","published":"2026-07-08T15:23:47.527Z","modified":"2026-08-12T03:51:15.238273950Z","cvss":null,"epss":{"score":0.00434,"percentile":0.35948,"asOf":"2026-08-24"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"tar","fixedVersion":"7.5.18"}],"fix":{"url":"https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5","label":"isaacs/node-tar@9e78bf0"},"references":[{"type":"WEB","url":"https://github.com/isaacs/node-tar/releases/tag/v7.5.18"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59874.json"},{"type":"ADVISORY","url":"https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59874"},{"type":"FIX","url":"https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:15.238273950Z"}}