Rxi · Microtar · CVE-2026-55738
**Name of the Vulnerable Software and Affected Versions**
rxi microtar version 0.1.0
**Description**
A stack-based buffer overflow occurs in the `raw to header()` function within `src/microtar.c`. The function uses `strcpy()` to copy 100-byte name and linkname fields of a TAR header without ensuring the source is null-terminated. Because the POSIX ustar format allows these fixed-width fields to be fully populated with non-null bytes, a crafted archive where the linkname field and subsequent padding lack a null terminator causes `strcpy()` to read and write beyond the boundaries of the 512-byte raw header stack buffer. A remote attacker can trigger this by providing a malicious TAR archive to be processed via `mtar open()`, `mtar read header()`, or `mtar find()`, leading to an out-of-bounds read and a stack buffer overflow, which may result in a denial of service or arbitrary code execution.
**Recommendations**
For version 0.1.0, at the moment, there is no information about a newer version that contains a fix for this vulnerability.