# CVE-2026-71267: microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()

- Severity: Critical 9.8 (CVSS:3.1, scored by TuranSec) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 40% of CVEs (2026-11-30)
- Published: 2026-08-05T12:26:14.990Z
- Modified: 2026-10-24T15:10:00.190Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: TuranSec

## 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.

(As written by CVE List.)

## Affected

- rxi microtar: up to *

## References

- <https://github.com/rxi/microtar> (third-party-advisory)
- <https://github.com/rxi/microtar/blob/master/src/microtar.c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-71267](https://www.cve.org/CVERecord?id=CVE-2026-71267), CVE Terms of Use, modified 2026-08-10
- NVD: [CVE-2026-71267](https://nvd.nist.gov/vuln/detail/CVE-2026-71267), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-71267 · Whole record: https://cve.day/CVE-2026-71267.json · Rebuilt by cve.day 2026-11-25T22:59:31.103Z
