{"id":"CVE-2026-111145","state":"PUBLISHED","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.","publishedAt":"2026-10-15T18:57:36.084Z","updatedAt":"2026-10-21T01:20:26.553Z","severity":{"score":6.9,"label":"Medium","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["Yeraze ytnef"],"affected":[{"vendor":"Yeraze","product":"ytnef","packageURL":"pkg:github/Yeraze/ytnef","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1.2","versionType":"semver"}],"collectionURL":"https://github.com/Yeraze/ytnef","repo":"https://github.com/Yeraze/ytnef"}],"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"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111145.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111145","state":"PUBLISHED","datePublished":"2026-10-15T18:57:36.084Z","dateUpdated":"2026-10-21T01:20:26.553Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-15T17:03:58.228Z"},"containers":{"cna":{"title":"ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Yeraze","product":"ytnef","packageURL":"pkg:github/Yeraze/ytnef","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.1.2","versionType":"semver"}],"collectionURL":"https://github.com/Yeraze/ytnef","repo":"https://github.com/Yeraze/ytnef"}],"references":[{"url":"https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read","tags":["technical-description","exploit"]},{"url":"https://github.com/Yeraze/ytnef/issues/112","tags":["issue-tracking"]},{"url":"https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563","tags":["technical-description"]},{"url":"https://github.com/Yeraze/ytnef","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf","name":"VulnCheck Advisory: ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.1,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","lang":"en","description":"Out-of-bounds Read","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-15T18:57:36.084Z"},"datePublic":"2026-05-12T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ytnef_project:ytnef:*:*:*:*:*:*:*:*","versionEndIncluding":"2.1.2"}]}]}],"credits":[{"lang":"en","value":"DrWhax","type":"finder"},{"lang":"en","value":"HaiND from the Post and Telecommunication Institute of Technology","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-21T01:20:14.221753Z","id":"CVE-2026-111145","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-21T01:20:26.553Z"}}]}}}