microtar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-121 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-71267
- 2026-10-03 Alias added: GHSA-3h9h-4m9g-9m4r
References
More rxi vulnerabilities
- TI-2026-31728 microtar 0.1.0 Stack-Based Buffer Overflow via raw_to_header() CVSS 4.0HIGH 8.7
- TI-2026-03475 rxi fe fe.c read_ out-of-bounds CVSS 4.0MEDIUM 4.8
- TI-2026-40236 Stack Buffer Overflow in rxi/microtar raw_to_header() via non-null-terminated TAR name field CVSS 4.0HIGH 8.7
- TI-2026-39293 Integer Overflow in rxi/microtar mtar_next() Causes Infinite Loop DoS CVSS 4.0HIGH 8.7
Sources
- CVE-2026-71267 · CVE Program
- CVE-2026-71267 · NVD
- FIRST EPSS
- GHSA-3h9h-4m9g-9m4r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-71267 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences