Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-18849
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2019-18849
Complete source record
{
"id": "703fccd5850e9853eb141baf8b53b7191d133938578c20f3e38f5f943f10da38",
"url": "https://osv.dev/vulnerability/CVE-2019-18849",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-18849",
"summary": "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.",
"evidence": "osv:CVE-2019-18849",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-18849",
"aliases": [
"CVE-2019-18849"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/verdammelt/tnef",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "8edd0e046736764c6decc8cd6e0e739438408f3e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:tnef_project:tnef:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.4.18"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"1.4.17",
"1.4.16",
"1.4.15",
"1.4.14",
"1.4.12",
"TNEF-1.4.11",
"1.4.11",
"TNEF-1.4.10",
"1.4.10"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18849.json",
"vanir_signatures": [
{
"id": "CVE-2019-18849-0c99bc39",
"digest": {
"length": 3966,
"function_hash": "197527520806726047393812687626000968189"
},
"source": "https://github.com/verdammelt/tnef/commit/8edd0e046736764c6decc8cd6e0e739438408f3e",
"target": {
"file": "src/main.c",
"function": "parse_cmdline"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-18849-586681cd",
"digest": {
"threshold": 0.9,
"line_hashes": [
"17390164876592905577376831902072063451",
"109240640345055473013296847978297599553",
"137785748995152623693204248295444430259",
"155667681579234382799527855881423726826"
]
},
"source": "https://github.com/verdammelt/tnef/commit/8edd0e046736764c6decc8cd6e0e739438408f3e",
"target": {
"file": "src/main.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:40:40Z"
}
}
],
"modified": "2026-10-20T13:40:40.903288835Z",
"provider": "osv",
"references": [
"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://lists.debian.org/debian-lts-announce/2019/11/msg00035.html",
"https://lists.debian.org/debian-lts-announce/2021/08/msg00025.html",
"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"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "30"
},
{
"last_affected": "30"
},
{
"introduced": "31"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-18849",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 387951,
"published_at": "2019-11-11T04:15:10.53+00:00"
}