8.7high
Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS
- Severity
- 8.7high CVSS:4.0 by TuranSec
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- TuranSec
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rxi microtar | 0.1.0 | CVE List |
All scores
| TuranSec | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| TuranSec | 8.7high CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
NVD (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.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54417 changed 2026-08-10 | CVE Terms of Use |
| NVD | CVE-2026-54417 changed 2026-10-26 | Public domain |