CVE-2026-55738: CWE-121 Stack-based Buffer Overflow in rxi microtar
A stack-based buffer overflow vulnerability exists in rxi microtar version 0.1.0 within the raw_to_header() function. This occurs because the function uses strcpy() to copy fixed-width TAR header fields without ensuring null termination, allowing crafted TAR archives to trigger out-of-bounds reads and writes. Exploitation can lead to denial of service or potentially arbitrary code execution when parsing malicious archives.
AI Analysis
Technical Summary
CVE-2026-55738 describes a stack-based buffer overflow in the raw_to_header() function of rxi microtar 0.1.0. The vulnerability arises from the use of strcpy() to copy the 100-byte name and linkname fields of a TAR header without guaranteeing null termination. Since the POSIX ustar format allows these fields to be fully populated with non-null bytes, a crafted TAR archive with a non-null-terminated linkname field can cause strcpy() to read beyond the 512-byte raw header buffer on the stack and write past the destination buffer. This leads to a stack buffer overflow, confirmed by AddressSanitizer, which can result in denial of service or arbitrary code execution when the archive is opened or parsed via mtar_open(), mtar_read_header(), or mtar_find().
Potential Impact
Successful exploitation allows a remote attacker to cause a denial of service (application crash) or potentially execute arbitrary code on the victim system by supplying a malicious TAR archive that triggers the stack buffer overflow during parsing.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening or parsing untrusted TAR archives with rxi microtar 0.1.0 to mitigate risk.
CVE-2026-55738: CWE-121 Stack-based Buffer Overflow in rxi microtar
Description
A stack-based buffer overflow vulnerability exists in rxi microtar version 0.1.0 within the raw_to_header() function. This occurs because the function uses strcpy() to copy fixed-width TAR header fields without ensuring null termination, allowing crafted TAR archives to trigger out-of-bounds reads and writes. Exploitation can lead to denial of service or potentially arbitrary code execution when parsing malicious archives.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-55738 describes a stack-based buffer overflow in the raw_to_header() function of rxi microtar 0.1.0. The vulnerability arises from the use of strcpy() to copy the 100-byte name and linkname fields of a TAR header without guaranteeing null termination. Since the POSIX ustar format allows these fields to be fully populated with non-null bytes, a crafted TAR archive with a non-null-terminated linkname field can cause strcpy() to read beyond the 512-byte raw header buffer on the stack and write past the destination buffer. This leads to a stack buffer overflow, confirmed by AddressSanitizer, which can result in denial of service or arbitrary code execution when the archive is opened or parsed via mtar_open(), mtar_read_header(), or mtar_find().
Potential Impact
Successful exploitation allows a remote attacker to cause a denial of service (application crash) or potentially execute arbitrary code on the victim system by supplying a malicious TAR archive that triggers the stack buffer overflow during parsing.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening or parsing untrusted TAR archives with rxi microtar 0.1.0 to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- TuranSec
- Date Reserved
- 2026-06-17T12:59:17.620Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a32a8a90b89be68886361c0
Added to database: 06/17/2026, 14:01:13 UTC
Last enriched: 06/24/2026, 16:32:59 UTC
Last updated: 08/01/2026, 07:18:01 UTC
Views: 219
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.