{"id":"CVE-2026-59874","revision":"133cbc1139e04af18ee0450b536cb866","records":[{"revision":"133cbc1139e04af18ee0450b536cb866","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-59874","aliases":[],"title":"node-tar: Negative tar entry size causes infinite loop in archive replace","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.","state":0,"publishedAt":"2026-07-08T15:23:47.527+00:00","modifiedAt":"2026-07-08T17:00:42.937+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"isaacs\",\n                    \"product\": \"node-tar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 7.5.18\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.7,"severity":"HIGH"}],"references":["https://github.com/isaacs/node-tar/security/advisories/GHSA-8x88-c5mf-7j5w","https://github.com/isaacs/node-tar/commit/9e78bf058b2c22dd4d52e00d8922d5c06fc2f7b5","https://github.com/isaacs/node-tar/releases/tag/v7.5.18"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-59874","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-59874","identifiers":["CVE-2026-59874"]},"retained":false,"historicalAffected":[]}],"coverage":[]}