Description
In ytnef 1.9.2, the SwapWord function in lib/ytnef.c allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libytnef | 1.9.3-1 | — |
| Debian 13 | libytnef | 1.9.3-1 | — |
| Debian 12 | libytnef | 1.9.3-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libytnef | No fix yet | — |
| Ubuntu 16.04 LTS | libytnef | No fix yet | — |
| Ubuntu 14.04 LTS | libytnef | 1.5-6ubuntu0.2 | USN-3667-1 |
Advisories 1
- USN-3667-1 libytnef vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
References
- USN-3667-1 vendor-advisory
- https://blogs.gentoo.org/ago/2017/05/24/ytnef-heap-based-buffer-overflow-in-swapword-ytnef-c/
- FEDORA-2019-7d7083b8be vendor-advisory