PT-2026-45517 · Git+1 · Microtar
CVSS v3.1
8.8
High
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
microtar version 0.1.0
Description
A stack-based buffer overflow occurs in the
raw to header() function within src/microtar.c. This issue allows attackers to corrupt adjacent stack memory by providing a specially crafted TAR archive containing name or linkname fields that are not null-terminated. The function utilizes strcpy() to copy 100-byte ustar format fields; when these fields lack null terminators, it can result in writes of up to 355 bytes into a 100-byte destination buffer. This happens when the mtar open(), mtar find(), or mtar read header() functions process the malicious archive.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Microtar