CVE-2026-111145 Details
Description
ytnef through 2.1.2 contains a heap out-of-bounds read vulnerability in DecompressRTF() in lib/ytnef.c that never validates uncompressedSize for uncompressed RTF streams. Attackers can supply a crafted winmail.dat TNEF attachment with a malicious PT_BINARY MAPI property to crash ytnefprint or libytnef callers and leak adjacent heap memory.
A heap out-of-bounds read vulnerability has been identified in the 'ytnef' tool, specifically in versions through 2.1.2. The issue arises within the 'DecompressRTF()' function of 'lib/ytnef.c', where the 'uncompressedSize' for RTF streams is not properly validated. This vulnerability allows attackers to craft a 'winmail.dat' TNEF attachment with a malicious PT_BINARY MAPI property, leading to a crash of 'ytnefprint' or any callers of 'libytnef', while also leaking adjacent heap memory.
Users can update to 'ytnef' version 2.1.3 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Yeraze/ytnef | [email protected] | ProductVendor |
| https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563 | [email protected] | Source CodeVendor |
| https://github.com/Yeraze/ytnef/issues/112 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read | [email protected] | ExploitTechnical Analysis |
| https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Yerase ytnef | <= 2.1.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 21, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion