CVE-2026-54417

HIGH

Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS

Title source: cna
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Technical Description technical-description
Vulnerable source code: src/microtar.c (mtar_next)
https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c

Scores

CVSS v3 7.5
EPSS 0.0042
EPSS Percentile 34.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-190 CWE-835
Status published
Products (1)
rxi/microtar 0.1.0
Published Jun 17, 2026
Tracked Since Jun 17, 2026