{"id":"UBUNTU-CVE-2019-18849","details":"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.","modified":"2026-02-04T04:31:32.336480Z","published":"2019-11-11T04:15:00Z","related":["USN-4524-1"],"upstream":["CVE-2019-18849"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-18849"},{"type":"REPORT","url":"https://github.com/verdammelt/tnef/pull/40"},{"type":"REPORT","url":"https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4524-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-18849"}],"affected":[{"package":{"name":"tnef","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tnef@1.4.9-1+deb8u4build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.9-1+deb8u4build0.16.04.1"}]}],"versions":["1.4.9-1","1.4.9-1+deb8u2build0.16.04.1","1.4.9-1+deb8u3build0.16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"1.4.9-1+deb8u4build0.16.04.1","binary_name":"tnef"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18849.json"}},{"package":{"name":"tnef","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tnef@1.4.12-1.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.12-1.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.4.12-1.2","binary_name":"tnef"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-18849.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}