Security · High impactFan score 20 · Tier C
ytnef 2.1.3: heap overflow and OOB reads in libytnef DecompressRTF (GHSA-jhg4-xcxm-cfg6)
The Brief
- ytnef 2.1.3 was released on 2026-11-20 and fixes several memory-safety bugs in libytnef's TNEF (winmail.dat) parsing.
- The fixes include a heap overflow and out-of-bounds reads in DecompressRTF, tracked as GHSA-jhg4-xcxm-cfg6.
- The maintainer announced the release to oss-security and notified people who package or depend on the library.
Why it matters
libytnef is used to parse TNEF (winmail.dat) attachments, so applications that depend on it may crash or be exposed to memory corruption until they run the fixed version.
Who’s affected
- Packagers and dependents of ytnef/libytnef
What to do
- Upgrade libytnef/ytnef to version 2.1.3 or later
- ytnef 2.1.3
- #security
- #memory-safety
- #ytnef
- #libytnef
- #tnef
Posted by Randall Hand on Nov 20 Hello, I maintain ytnef/libytnef ( https://github.com/Yeraze/ytnef ). You are receiving this because you package or depend on it. ytnef 2.1.3, released today, fixes several memory-safety bugs in libytnef's TNEF (winmail.dat) parsing. A…