Skip to content
OpenAdvisories
Medium · 6.1 CVE-2026-111145 EUVD-2026-102272GHSA-hjxh-c649-gvhr

ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF

Published Oct 15, 2026 · Updated Oct 21, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Yeraze ytnef ≤ 2.1.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libytnef No fix yet —
Debian 13 libytnef No fix yet —
Debian 12 libytnef No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libytnef No fix yet —
Ubuntu 26.04 LTS libytnef No fix yet —
Ubuntu 24.04 LTS libytnef No fix yet —
Ubuntu 22.04 LTS libytnef No fix yet —
Ubuntu 20.04 LTS libytnef No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libytnef No fix yet —
Ubuntu 16.04 LTS libytnef No fix yet —

References