{"id":"CVE-2026-54417","summary":"Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS","details":"An integer overflow in the mtar_next() function in src/microtar.c in rxi microtar 0.1.0 allows a remote attacker to cause a denial of service (uncontrolled CPU consumption / infinite loop) via a crafted tar archive. mtar_next() computes the offset to the next record as round_up(h.size, 512) + sizeof(mtar_raw_header_t) using 32-bit arithmetic. When the header size field is a multiple of 512 in the range 0xFFFFFC01-0xFFFFFE00 (e.g. 0xFFFFFE00), the addition wraps to 0, so mtar_next() seeks to the current record position instead of advancing. As a result, mtar_find() and any loop that iterates entries with mtar_next() repeat indefinitely over the same record, hanging the process at 100% CPU with no recovery.","modified":"2026-07-08T08:11:31.534683049Z","published":"2026-06-17T13:25:54.502Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54417.json","cwe_ids":["CWE-190","CWE-835"],"cna_assigner":"TuranSec"},"references":[{"type":"WEB","url":"https://github.com/rxi/microtar/blob/master/src/microtar.c#L239"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54417.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54417"},{"type":"PACKAGE","url":"https://github.com/rxi/microtar"},{"type":"ARTICLE","url":"https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rxi/microtar","events":[{"introduced":"956791770defa4d06696b30db276e88a09ad3538"},{"last_affected":"956791770defa4d06696b30db276e88a09ad3538"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0.1.0"},{"last_affected":"0.1.0"}]}}],"versions":["0.1.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54417.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}