{"id":"UBUNTU-CVE-2026-111145","details":"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.","modified":"2026-10-17T12:58:03.903187200Z","published":"2026-10-16T00:00:00Z","upstream":["CVE-2026-111145"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-111145"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-111145"},{"type":"REPORT","url":"https://github.com/Yeraze/ytnef"},{"type":"REPORT","url":"https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563"},{"type":"REPORT","url":"https://github.com/Yeraze/ytnef/issues/112"},{"type":"REPORT","url":"https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf"}],"affected":[{"package":{"name":"libytnef","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5-6","1.5-9","1.5-9ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.5-9ubuntu0.1","binary_name":"libytnef0"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.2-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"1.9.2-2"},{"binary_version":"1.9.2-2","binary_name":"ytnef-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"1.9.3-1"},{"binary_version":"1.9.3-1","binary_name":"ytnef-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.3-3","2.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.0-1"},{"binary_name":"ytnef-tools","binary_version":"2.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0-1","2.1.2-1","2.1.2-1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.1.2-1build1"},{"binary_name":"ytnef-tools","binary_version":"2.1.2-1build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libytnef0","binary_version":"2.1.2-1build2"},{"binary_name":"ytnef-tools","binary_version":"2.1.2-1build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}},{"package":{"name":"libytnef","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libytnef?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.2-1build1","2.1.2-1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.2-1build2","binary_name":"libytnef0"},{"binary_version":"2.1.2-1build2","binary_name":"ytnef-tools"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-111145.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}