An integer overflow in the mtarnext() 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. mtarnext() computes the offset to the next record as roundup(h.size, 512) + sizeof(mtarrawheadert) 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 mtarnext() seeks to the current record position instead of advancing. As a result, mtarfind() and any loop that iterates entries with mtar_next() repeat indefinitely over the same record, hanging the process at 100% CPU with no recovery.
{
"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"
}