CVE-2026-111145
ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF
CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-125 |
| Vendor | yeraze |
| Product | ytnef |
| Published | Oct 15, 2026 |
Stay Ahead of the Next One
Get instant alerts for yeraze ytnef
Be the first to know when new medium vulnerabilities affecting yeraze ytnef are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Affected Versions
Yeraze / ytnef
0 โค 2.1.2
References
hackmd.io: https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read github.com: https://github.com/Yeraze/ytnef/issues/112 github.com: https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563 github.com: https://github.com/Yeraze/ytnef vulncheck.com: https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf
Credits
DrWhax HaiND from the Post and Telecommunication Institute of Technology