CVE-2019-18849

Source
https://cve.org/CVERecord?id=CVE-2019-18849
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18849.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-18849
Downstream
Published
2019-11-11T04:15:10Z
Modified
2026-07-08T17:17:48Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "16.04"
                },
                {
                    "last_affected":  "16.04"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "canonical:ubuntu_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "8.0"
                },
                {
                    "last_affected":  "8.0"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "debian:debian_linux"
        },
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "30"
                },
                {
                    "last_affected":  "30"
                },
                {
                    "introduced":  "31"
                },
                {
                    "last_affected":  "31"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/verdammelt/tnef

Affected ranges

Type
GIT
Repo
https://github.com/verdammelt/tnef
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:tnef_project:tnef:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "1.4.18"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

1.*
1.4.10
1.4.11
1.4.12
1.4.14
1.4.15
1.4.16
1.4.17
TNEF-1.*
TNEF-1.4.10
TNEF-1.4.11

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-18849.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "197527520806726047393812687626000968189",
            "length":  3966
        },
        "id":  "CVE-2019-18849-0c99bc39",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/verdammelt/tnef/commit/8edd0e046736764c6decc8cd6e0e739438408f3e",
        "target":  {
            "file":  "src/main.c",
            "function":  "parse_cmdline"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "17390164876592905577376831902072063451",
                "109240640345055473013296847978297599553",
                "137785748995152623693204248295444430259",
                "155667681579234382799527855881423726826"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2019-18849-586681cd",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/verdammelt/tnef/commit/8edd0e046736764c6decc8cd6e0e739438408f3e",
        "target":  {
            "file":  "src/main.c"
        }
    }
]
vanir_signatures_modified
"2026-07-08T17:17:48Z"