CVE-2026-54417

Source
https://cve.org/CVERecord?id=CVE-2026-54417
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54417.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54417
Published
2026-06-17T13:25:54.502Z
Modified
2026-07-08T08:11:31.534683049Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS
Details

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.

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

Affected packages

Git / github.com/rxi/microtar

Affected ranges

Type
GIT
Repo
https://github.com/rxi/microtar
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.1.0"
        },
        {
            "last_affected": "0.1.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

0.*
0.1.0
v0.*
v0.1.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54417.json"