CVE-2026-111146
ytnef through 2.1.2 Heap Out-of-Bounds Read via MAPIPrint in lib/ytnef.c
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 MAPIPrint() that allows attackers to read past heap allocations by supplying compressed RTF properties. Attackers can deliver a crafted winmail.dat whose decompressed RTF lacks a NUL terminator, causing printf to over-read, crashing ytnefprint and leaking adjacent heap bytes.
| 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#L1449-L1458 github.com: https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1605-L1614 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-mapiprint-in-lib-ytnef-c
Credits
DrWhax HaiND from the Post and Telecommunication Institute of Technology