{"id":"CVE-2019-18849","aliases":["DEBIAN-CVE-2019-18849","DLA-2005-1","DLA-2748-1","EUVD-2019-8547","GHSA-cq6j-h35c-x8gr","MGASA-2019-0367","UBUNTU-CVE-2019-18849","USN-4524-1"],"status":"published","title":"In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorized_keys file...","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.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01213,"percentile":0.68739,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2019-11-11T03:21:55Z","modified":"2026-10-20T13:40:40Z","fixes":[{"ecosystem":"Debian:12","package":"tnef","fixed_in":["1.4.18-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tnef","fixed_in":["1.4.18-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tnef","fixed_in":["1.4.18-1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"tnef","fixed_in":["1.4.9-1+deb8u4"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"tnef","fixed_in":["1.4.12-1.2+deb9u1"],"sources":["osv"]},{"ecosystem":"Mageia:7","package":"tnef","fixed_in":["1.4.18-1.mga7"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"tnef","fixed_in":["1.4.9-1+deb8u4build0.16.04.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18-1"}]}]},{"source":"osv","ecosystem":"Debian:8","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.9-1+deb8u4"}]}],"versions":["1.4.9-1","1.4.9-1+deb8u1","1.4.9-1+deb8u2","1.4.9-1+deb8u3"]},{"source":"osv","ecosystem":"Debian:9","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.12-1.2+deb9u1"}]}],"versions":["1.4.12-1.2"]},{"source":"osv","ecosystem":"Mageia:7","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.18-1.mga7"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tnef","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"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"tnef","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.12-1.2"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"tnef","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"]}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"fedoraproject","product":"fedora"},{"vendor":"tnef_project","product":"tnef"}],"references":[{"url":"https://github.com/verdammelt/tnef/pull/40","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00035.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RMKFSHPMOZL7MDWU5RYOTIBTRWSZ4Z6X/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W7CPKBW4QZ4VIY4UXIUVUSHRJ4R2FROE/","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"https://usn.ubuntu.com/4524-1/","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00025.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18849"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RMKFSHPMOZL7MDWU5RYOTIBTRWSZ4Z6X/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/W7CPKBW4QZ4VIY4UXIUVUSHRJ4R2FROE/"},{"url":"https://github.com/advisories/GHSA-cq6j-h35c-x8gr"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-18849","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2019-0367.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=25785","tags":["report"]},{"url":"https://www.debian.org/lts/security/2019/dla-2005","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2019-18849","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-4524-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-18849","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-18849","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.","status":"published","published":"2019-11-11T03:21:55Z","modified":"2024-08-05T02:02:39.534Z","updated_at":"2026-11-02T14:32:23.803059Z"}],"euvd":[{"id":"EUVD-2019-8547","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.","status":"published","published":"2019-11-11T03:21:55Z","modified":"2024-08-05T02:02:39Z","updated_at":"2026-11-03T02:40:27.303586Z"}],"ghsa":[{"id":"GHSA-cq6j-h35c-x8gr","title":"In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorized_keys file...","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.","status":"published","published":"2022-05-24T17:00:42Z","modified":"2023-01-28T05:07:24Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:44:31.117774Z"}],"nvd":[{"id":"CVE-2019-18849","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.","status":"published","published":"2019-11-11T04:15:10.53Z","modified":"2026-06-17T02:25:27.967Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:05:35.052973Z"}],"osv":[{"id":"CVE-2019-18849","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.","status":"published","published":"2019-11-11T04:15:10.53Z","modified":"2026-10-20T13:40:40.903288835Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:11.673963Z"},{"id":"DEBIAN-CVE-2019-18849","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.","status":"published","published":"2019-11-11T04:15:10.53Z","modified":"2026-09-21T07:03:12.956141333Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:31.867036Z"},{"id":"UBUNTU-CVE-2019-18849","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.","status":"published","published":"2019-11-11T04:15:00Z","modified":"2026-02-04T04:31:32.33648Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:20.325378Z"},{"id":"DLA-2005-1","title":"tnef - security update","status":"published","published":"2019-11-25T00:00:00Z","modified":"2026-03-09T01:18:47.810286Z","updated_at":"2026-11-02T15:46:10.227108Z"},{"id":"DLA-2748-1","title":"tnef - security update","status":"published","published":"2021-08-23T00:00:00Z","modified":"2026-03-09T01:21:35.980526Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"MGASA-2019-0367","title":"Updated tnef packages fix security vulnerability","description":"Updated tnef package fixes security vulnerability:\n\nIn tnef, an attacker may be able to write to the victim's \n.ssh/authorized_keys file via an e-mail message with a crafted\nwinmail.dat application/ms-tnef attachment, because of a heap-based\nbuffer over-read involving strdup (CVE-2019-18849).\n","status":"published","published":"2019-12-06T14:15:42Z","modified":"2026-04-16T04:43:49.948563556Z","updated_at":"2026-11-02T15:49:41.151324Z"},{"id":"USN-4524-1","title":"tnef vulnerabilities","description":"Paul Dreik discovered that TNEF incorrectly handled filenames. If a user\nwere tricked into opening a specially crafted email attachment, an\nattacker could possibly use this issue to write arbitrary files to the\nfilesystem or cause TNEF crash, resulting in a denial of service.\n(CVE-2019-18849)\n","status":"published","published":"2020-09-21T22:54:54Z","modified":"2026-04-27T15:41:57.237576Z","updated_at":"2026-11-02T16:58:14.547547Z"}]}}
