Stack-based Buffer Overflow in Microtar by rxi
CVE-2026-43623
Key Information:
Badges
What is CVE-2026-43623?
Microtar, up to version 0.1.0, is affected by a stack-based buffer overflow vulnerability in the raw_to_header() function located in src/microtar.c. This flaw arises when a specially crafted TAR archive is processed, where name or linkname fields are not properly null-terminated. The use of strcpy() to copy the associated fields can lead to excessive writes into a fixed-size buffer, potentially corrupting adjacent stack memory during the execution of functions such as mtar_open(), mtar_find(), or mtar_read_header(). Attackers could exploit this vulnerability by supplying malicious TAR files, causing unforeseen behavior and compromising system integrity.
Affected Version(s)
microtar 0 <= 0.1.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
