Bug 2511897 - CVE-2026-71267 imhex: microtar: Stack buffer overflow via overly long filenames [epel-all]
Summary: CVE-2026-71267 imhex: microtar: Stack buffer overflow via overly long filenam...
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: imhex
Version: epel10
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-06 04:37 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:53 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.


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