Bug 2511898 - CVE-2026-71267 imhex: microtar: Stack buffer overflow via overly long filenames [fedora-all]
Summary: CVE-2026-71267 imhex: microtar: Stack buffer overflow via overly long filenam...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: imhex
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jonathan Wright
QA Contact:
URL:
Whiteboard: {"flaws": ["84a91b48-c4b0-4996-bc8c-2...
Depends On:
Blocks: CVE-2026-71267
TreeView+ depends on / blocked
 
Reported: 2026-08-06 04:37 UTC by Jeremy Choi
Modified: 2026-08-17 15:48 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Jeremy Choi 2026-08-06 04:37:58 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:48:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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