{"id":"CVE-2026-111145","revision":"9f615f01053d47dbbd5a524872e84685","records":[{"revision":"9f615f01053d47dbbd5a524872e84685","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111145","aliases":[],"title":"ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF","description":"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.","state":0,"publishedAt":"2026-10-15T18:57:36.084+00:00","modifiedAt":"2026-10-21T01:20:26.553+00:00","affected":[{"ecosystem":"https://github.com/Yeraze/ytnef","name":"ytnef","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Yeraze\",\n                    \"product\": \"ytnef\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThanOrEqual\": \"2.1.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"collectionURL\": \"https://github.com/Yeraze/ytnef\",\n                    \"packageURL\": \"pkg:github/Yeraze/ytnef\",\n                    \"repo\": \"https://github.com/Yeraze/ytnef\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.9,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","score":6.1,"severity":"MEDIUM"}],"references":["https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read","https://github.com/Yeraze/ytnef/issues/112","https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563","https://github.com/Yeraze/ytnef","https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111145","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111145","identifiers":["CVE-2026-111145"]},"retained":false,"historicalAffected":[]}],"coverage":[]}