CVE-2026-55738 Details
Description
A stack-based buffer overflow exists in the raw_to_header function in src/microtar.c in rxi microtar 0.1.0. The function copies the 100-byte name and linkname fields of a TAR header with strcpy without guaranteeing null termination of the source.
A stack-based buffer overflow vulnerability has been identified in rxi microtar version 0.1.0. The issue arises in the raw_to_header() function within src/microtar.c, where the function copies the 100-byte name and linkname fields of a TAR header using strcpy(). This method does not ensure null termination of the source, allowing a crafted archive to overwrite memory. The POSIX ustar format permits these fields to be filled with non-null bytes, so an archive lacking a null terminator in the linkname field can cause strcpy() to read beyond the end of a 512-byte raw header stack buffer, writing past the destination header buffer. A remote attacker can exploit this by supplying a malicious TAR archive that is opened or parsed, leading to an out-of-bounds read, a stack buffer overflow, and a crash, with potential for arbitrary code execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 17, 2026CISA-ADP
Assessed Jun 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rxi/microtar | TuranSec | ProductVendor |
| https://github.com/rxi/microtar/blob/master/src/microtar.c#L111 | TuranSec | Source CodeVendor |
| https://raw.githubusercontent.com/rxi/microtar/master/src/microtar.c | TuranSec | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | TuranSec |
| CWE-170 | Improper Null Termination | TuranSec |
Affected Products
| Product | Versions |
|---|---|
| rxi microtar | 0.1.0 (semver) |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Aug 10, 2026 | CVE Modified | TuranSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | New CVE Received | TuranSec |
Volerion