Bug 2544477 (CVE-2026-103679) - CVE-2026-103679 tnef: Use-after-free and double-free in get_body_files() via multi-value body extraction
Summary: CVE-2026-103679 tnef: Use-after-free and double-free in get_body_files() via ...
Keywords:
Status: NEW
Alias: CVE-2026-103679
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2544596
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-01 09:17 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:17:31 UTC
A flaw was found in tnef. When a TNEF stream contains more than one MAPI RTF or HTML body value, get_body_files() allocates a single filename buffer and a single MIME-type buffer and assigns the same pointers to every generated output file, instead of a separate copy per file. Each of these files is later freed independently, producing a use-after-free followed by a double-free on the second and subsequent files. The issue was confirmed under AddressSanitizer and crashes the process when extracting a crafted TNEF stream with multiple body values; no code-execution primitive has been demonstrated.


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