CVE-2026-111145
ytnef through 2.1.2 contains a heap out-of-bounds read …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Yeraze/ytnef
- github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1
- github.com/Yeraze/ytnef/issues/112
- hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read
- www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf
- nvd.nist.gov/vuln/detail/CVE-2026-111145
- cve.org/CVERecord?id=CVE-2026-111145
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.