GHSA-j8vr-p842-7vj8MediumCVSS 6.1
ytnef through 2.1.2 contains a heap out-of-bounds read vulnerability in MAPIPrint() that allows...
🔗 CVE IDs covered (1)
📋 Description
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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-111146
- https://github.com/Yeraze/ytnef/issues/112
- https://github.com/Yeraze/ytnef
- https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1449-L1458
- https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1605-L1614
- https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read
- https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-mapiprint-in-lib-ytnef-c
- https://github.com/advisories/GHSA-j8vr-p842-7vj8