Bug 2511585 (CVE-2026-71267) - CVE-2026-71267 microtar: microtar: Stack buffer overflow via overly long filenames
Summary: CVE-2026-71267 microtar: microtar: Stack buffer overflow via overly long file...
Keywords:
Status: NEW
Alias: CVE-2026-71267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2511897 2511898
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-05 14:09 UTC by OSIDB Bzimport
Modified: 2026-08-06 04:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-05 14:09:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.