Bug 2544596 - CVE-2026-103679 tnef: Use-after-free and double-free in get_body_files() via multi-value body extraction [fedora-all]
Summary: CVE-2026-103679 tnef: Use-after-free and double-free in get_body_files() via ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: tnef
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Artur Frenszek-Iwicki
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d9b862d7-0485-4fc0-b356-e...
Depends On:
Blocks: CVE-2026-103679
TreeView+ depends on / blocked
 
Reported: 2026-10-01 11:37 UTC by Vladimir Vasilev
Modified: 2026-10-01 11:37 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Vladimir Vasilev 2026-10-01 11:37:44 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.

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.