{"id":"CVE-2026-111145","title":"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","summary":"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 …","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","cwe":["CWE-125"],"vendor":"Yeraze","product":"ytnef","affected":["ytnef <= 2.1.2"],"published":"2026-10-15","updated":"2026-10-15","sourceUpdated":"2026-10-15T19:17:28.873","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-111145","references":[{"url":"https://github.com/Yeraze/ytnef","label":"disclosure@vulncheck.com"},{"url":"https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563","label":"disclosure@vulncheck.com"},{"url":"https://github.com/Yeraze/ytnef/issues/112","label":"disclosure@vulncheck.com"},{"url":"https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-10-15T19:25:46.413Z","slug":"CVE-2026-111145","body":"## Overview\n\nytnef 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}