# CVE-2026-111146: ytnef through 2.1.2 Heap Out-of-Bounds Read via MAPIPrint in lib/ytnef.c

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-15T18:57:36.782Z
- Modified: 2026-10-16T18:25:45.343Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Yeraze ytnef: up to 2.1.2

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H`

## References

- <https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read> (exploit, technical-description)
- <https://github.com/Yeraze/ytnef/issues/112> (issue-tracking)
- <https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1449-L1458> (technical-description)
- <https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1605-L1614> (technical-description)
- <https://github.com/Yeraze/ytnef> (product)
- <https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-mapiprint-in-lib-ytnef-c> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-111146](https://www.cve.org/CVERecord?id=CVE-2026-111146), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-111146](https://nvd.nist.gov/vuln/detail/CVE-2026-111146), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-111146 · Whole record: https://cve.day/CVE-2026-111146.json · Rebuilt by cve.day 2026-11-25T22:59:44.935Z
