# ytnef 2.1.3: heap overflow and OOB reads in libytnef DecompressRTF (GHSA-jhg4-xcxm-cfg6)

Source: [Open Source Security](https://seclists.org/oss-sec/2026/q4/802) · 2026-11-20 · Security
Page: https://themorning.dev/story/ytnef-2-1-3-heap-overflow-and-oob-reads-in-libytnef-decompressrtf-ghsa-jhg4-xcxm-89c7e646822a380b
Kind: security · Impact: high

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

## What to do

- Upgrade libytnef/ytnef to version 2.1.3 or later

## Versions

- ytnef 2.1.3

## Timeline

- 2026-11-20: ytnef 2.1.3 released with fixes for memory-safety bugs; advisory posted to oss-security

## Coverage

- [ytnef 2.1.3: heap overflow and OOB reads in libytnef DecompressRTF (GHSA-jhg4-xcxm-cfg6)](https://seclists.org/oss-sec/2026/q4/802) — Open Source Security, 2026-11-20

Tags: security, memory-safety, ytnef, libytnef, tnef

---

Brief generated by AI (claude-haiku-5-5) from the reporting listed under Coverage. Headlines belong to their publishers. The Morning Dev – https://themorning.dev
