CVE-2026-54417

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.
Configurations

No configuration.

History

26 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) Un desbordamiento de entero en la función mtar_next() en src/microtar.c en rxi microtar 0.1.0 permite a un atacante remoto causar una denegación de servicio (consumo incontrolado de CPU / bucle infinito) a través de un archivo tar manipulado. mtar_next() calcula el desplazamiento al siguiente registro como round_up(h.size, 512) + sizeof(mtar_raw_header_t) usando aritmética de 32 bits. Cuando el campo de tamaño de la cabecera es un múltiplo de 512 en el rango 0xFFFFFC01-0xFFFFFE00 (p. ej. 0xFFFFFE00), la adición se ajusta a 0, por lo que mtar_next() busca la posición del registro actual en lugar de avanzar. Como resultado, mtar_find() y cualquier bucle que itere entradas con mtar_next() se repiten indefinidamente sobre el mismo registro, colgando el proceso al 100% de CPU sin recuperación.

Information

Published : 2026-06-17 14:17

Updated : 2026-10-26 11:10


NVD link : CVE-2026-54417

Mitre link : CVE-2026-54417

CVE.ORG link : CVE-2026-54417


JSON object : View

Products Affected

No product.

CWE
CWE-190

Integer Overflow or Wraparound

CWE-835

Loop with Unreachable Exit Condition ('Infinite Loop')