Skip to content
OpenAdvisories
Medium USN-9343-1 4 CVEs

tnef vulnerabilities

Published Dec 1, 2026 · Updated Dec 2, 2026

Summary

Paul Dreik discovered that TNEF incorrectly handled filenames. If a user
were tricked into opening a specially crafted email attachment, an attacker
could possibly use this issue to write arbitrary files to the file system
or cause TNEF to crash, resulting in a denial of service. (CVE-2019-18849)

It was discovered that TNEF did not properly validate buffer boundaries
when processing uncompressed RTF data, leading to an out-of-bounds read. If
a user or automated system were tricked into opening a specially crafted
file, an attacker could possibly use this issue to cause TNEF to crash,
resulting in a denial of service, or obtain sensitive information.
(CVE-2026-103678)

It was discovered that TNEF incorrectly handled memory when processing
files containing multiple message bodies, leading to a use-after-free and a
double free. If a user or automated system were tricked into opening a
specially crafted file, an attacker could possibly use this issue to cause
TNEF to crash, resulting in a denial of service. (CVE-2026-103679)

It was discovered that TNEF incorrectly handled generating numbered backup
filenames when numbered backups were enabled, leading to a heap-based
buffer overflow. If a user or automated system were tricked into opening a
specially crafted file, an attacker could possibly use this issue to cause
TNEF to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2026-103680)

Fixed packages 1

ReleasePackageFixed in
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS tnef 1.4.12-1.2ubuntu0.1~esm1

Vulnerabilities 4

  • Medium 6.5

    Tnef: use-after-free and double-free in get_body_files() via multi-value body extraction

    A flaw was found in tnef. A remote attacker could exploit this vulnerability by providing a specially crafted Transport Neutral Encapsulation Format (TNEF) file containing multiple message bodies. During extraction, improper memory management triggers a use-a…

  • Medium 5.4

    Tnef: heap out-of-bounds read in get_rtf_data_from_buf() via uncompressed rtf mapi value

    A flaw was found in tnef. An attacker can exploit this vulnerability by providing a specially crafted file containing uncompressed Rich Text Format (RTF) data. Because the application fails to properly validate input buffer boundaries before copying data in g…

  • Low 3.1

    Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation

    A flaw was found in tnef. A heap-based buffer overflow can occur in the find_free_number() function when generating numbered backup suffixes for duplicate filenames. When numbered backups are enabled and file overwriting is disabled, an attacker can supply a …

  • Unscored —

    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…

References

  • report
    https://ubuntu.com/security/CVE-2019-18849
  • report
    https://ubuntu.com/security/CVE-2026-103678
  • report
    https://ubuntu.com/security/CVE-2026-103679
  • report
    https://ubuntu.com/security/CVE-2026-103680