CVE-2026-71267
CRITICALmicrotar Stack Buffer Overflow in mtar_write_file_header() and mtar_write_dir_header()
Title source: cnaDescription
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.
References (2)
Core 2
Scores
CVSS v3
9.8
EPSS
0.0034
EPSS Percentile
26.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
total
Details
CWE
CWE-121
Status
published
Products (1)
rxi/microtar
Published
Aug 05, 2026
Tracked Since
Aug 05, 2026