What’s Vulnerable › Vulnerabilities
CVE-2019-18849
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-11-11 · updated 2026-06-17
- Weakness: CWE-125
Description
In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorized_keys file via an e-mail message with a crafted winmail.dat application/ms-tnef attachment, because of a heap-based buffer over-read involving strdup.
Affected products
- Canonical Ubuntu Linux: 16.04
- Debian Linux: 8.0
- Fedoraproject Fedora: 30, 31
- Tnef Project Tnef: before 1.4.18 — fixed in 1.4.18
How to fix
Upgrade to a fixed version: Tnef Project Tnef 1.4.18. Check the vendor advisory for mitigations.
References
- https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18
- https://github.com/verdammelt/tnef/pull/40
- https://lists.debian.org/debian-lts-announce/2019/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2021/08/msg00025.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKFSHPMOZL7MDWU5RYOTIBTRWSZ4Z6X/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7CPKBW4QZ4VIY4UXIUVUSHRJ4R2FROE/
- https://usn.ubuntu.com/4524-1/
- https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18
- https://github.com/verdammelt/tnef/pull/40
- https://lists.debian.org/debian-lts-announce/2019/11/msg00035.html
- https://lists.debian.org/debian-lts-announce/2021/08/msg00025.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKFSHPMOZL7MDWU5RYOTIBTRWSZ4Z6X/
Get alerted when CVE-2019-18849 or the next vulnerability affects your stack