Bug 2544478 (CVE-2026-103680) - CVE-2026-103680 tnef: Heap buffer overflow in find_free_number() via numbered-backup suffix generation
Summary: CVE-2026-103680 tnef: Heap buffer overflow in find_free_number() via numbered...
Keywords:
Status: NEW
Alias: CVE-2026-103680
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2544597
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-01 09:18 UTC by OSIDB Bzimport
Modified: 2026-10-01 11:42 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-01 09:18:15 UTC
A flaw was found in tnef. find_free_number() allocates a fixed-size buffer sized for a 5-digit numeric backup suffix, but formats the counter with an unbounded sprintf(). When the --number-backups option is enabled and overwrite is disabled, a crafted TNEF stream that forces roughly 100,000 colliding candidate filenames for a single extracted attachment causes the counter to require six digits, writing past the end of the allocated heap buffer. The issue requires a non-default command-line option and a large, specially crafted input to trigger.


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