Description
The TNEFFillMapi function in lib/ytnef.c in libytnef in ytnef through 1.9.2 does not ensure a nonzero count value before a certain memory allocation, which allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted tnef 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
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862707
- https://github.com/Yeraze/ytnef/issues/47
- FEDORA-2019-7d7083b8be vendor-advisory