CVE-2026-71267
microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
- State
- Published
- Severity
- 9.8 Critical
- Published
- Aug 5, 2026
- Updated
- Aug 10, 2026
- Reserved
- Aug 5, 2026
Description
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 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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | TuranSec |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
microtarrxi |
|
References
- https://github.com/rxi/microtarthird-party-advisory
- https://github.com/rxi/microtar/blob/master/src/microtar.cthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.