CVE-2026-71267
microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
microtar's mtar_write_file_header() and mtar_write_dir_header() functions (src/microtar.c) copy a caller-supplied entry name into the 100-byte `name` field of a stack-allocated mtar_header_t via strcpy(h.name, name), with no check that strlen(name) is less than 100 before the copy. Any application that calls these functions with an externally-influenced filename longer than 99 characters (e.g. when archiving user-supplied or attacker-controlled filenames) triggers a stack buffer overflow.
| CWE | CWE-121 |
| Vendor | rxi |
| Product | microtar |
| Published | Aug 5, 2026 |
Stay Ahead of the Next One
Get instant alerts for rxi microtar
Be the first to know when new critical vulnerabilities affecting rxi microtar are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
rxi / microtar
0 โค *
References
Credits
Alibek Baxtiyorov