CVE-2026-111145
CVE-2026-111145 · ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.9 · Medium · EPSS 0.1%
- Published
- Updated
Stack: system
Affected products and versions
ytnef
- Versions
- ≥ 0, ≤ 2.1.2: Affected (semver)
No fix published
libytnef Debian:12
- Versions
- 2.0-1
- 2.1.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Debian:13
- Versions
- 2.1.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Debian:14
- Versions
- 2.1.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:16.04:LTS
- Versions
- 1.5-6
- 1.5-9
- 1.5-9ubuntu0.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:18.04:LTS
- Versions
- 1.9.2-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:20.04:LTS
- Versions
- 1.9.3-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:22.04:LTS
- Versions
- 1.9.3-3
- 2.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:24.04:LTS
- Versions
- 2.0-1
- 2.1.2-1
- 2.1.2-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:26.10
- Versions
- 2.1.2-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libytnef Ubuntu:26.04:LTS
- Versions
- 2.1.2-1build1
- 2.1.2-1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-111145