{"id":"CVE-2026-111146","revision":"a85a3b3a1e5b4f53bf76149cad5caec2","records":[{"revision":"a85a3b3a1e5b4f53bf76149cad5caec2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-111146","aliases":[],"title":"ytnef through 2.1.2 Heap Out-of-Bounds Read via MAPIPrint in lib/ytnef.c","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.","state":0,"publishedAt":"2026-10-15T18:57:36.782+00:00","modifiedAt":"2026-10-15T19:45:21.657+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#L1449-L1458","https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1605-L1614","https://github.com/Yeraze/ytnef","https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-mapiprint-in-lib-ytnef-c"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-111146","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-111146","identifiers":["CVE-2026-111146"]},"retained":false,"historicalAffected":[]}],"coverage":[]}