CVE-2019-18849
Research article
CVE-2019-18849: TNEF Project Out-of-Bounds Read Vulnerability
| CVE | CVE-2019-18849 |
|---|---|
| Published | December 01, 2026 19:15 UTC |
| Research cut-off | December 01, 2026 19:05 UTC |
| Sources reviewed | 4: NVD record (last modified 2026-06-17); CISA KEV catalog; vendor advisory page (github.com); 1 vendor bulletin |
Executive summary
CVE-2019-18849 impacts the TNEF project and multiple Linux distributions, with a CVSS 3.1 score of 5.5 MEDIUM, assigned by NVD [1]. The issue involves incorrect handling of filenames by TNEF, with buffer boundary problems when processing uncompressed data [4]. The reviewed sources do not confirm any exploitation [2]. The recommended action for the TNEF project is to move to 1.4.18, the version NVD lists as fixed [1].
Key points
- CVE-2019-18849 affects the TNEF project and multiple Linux distributions [1].
- The flaw involves improper handling of unterminated strings in the strdup() function, which may lead to memory corruption [3].
- The CVSS 3.1 score is 5.5 MEDIUM, assigned by NVD [1].
- The reviewed sources do not confirm any exploitation [2].
- The vulnerability was addressed in a pull request [3], and an Ubuntu USN bulletin indicates a security update was issued [4].
Vulnerability identification
| CVE ID | Vendor | Product | CWE | CVSS 3.1 | Published | Last Modified | Record Status |
|---|---|---|---|---|---|---|---|
| CVE-2019-18849 | TNEF Project | TNEF | CWE-125 | 5.5 MEDIUM, scored by nvd@nist.gov | 2019-11-11T04:15:10 | 2026-06-17T02:25:27 | Modified |
Vulnerability description
The flaw relates to incorrect handling of filenames by TNEF, which may lead to buffer boundary issues [4]. The patch page describes a separate bitshift fix that may produce undefined behavior in C, though gcc does not exploit it [3]. A fix was implemented to ensure strings are properly null-terminated in the strdup() function to prevent buffer overflow [3].
Attack surface and exploitation prerequisites
The CVSS vector indicates the vulnerability requires local access (AV:L) and a user must interact with the system (UI:R). The impact is significant on availability (A:H) [1]. The flaw could be exploited if a user is convinced to open a malicious email attachment, potentially allowing arbitrary file writes or system crashes [4].
Impact analysis
The CVSS vector specifies no impact on confidentiality (C:N) and no impact on integrity (I:N), but a high impact on availability (A:H) [1]. The description notes that the vulnerability could enable arbitrary file writes or system crashes [4].
Affected products and versions
| Affected Product | Affected Version | Fixed Version |
|---|---|---|
| tnef project tnef | < 1.4.18 | 1.4.18 |
| fedoraproject fedora | 30, 31 | not listed |
| canonical ubuntu linux | 16.04 | not listed |
| debian linux | 8.0 | not listed |
Exploitation and threat intelligence status
CVE-2019-18849 is not included in the CISA KEV catalog as of 2026-12-01 [2]. The reviewed sources do not indicate any confirmed exploitation [2].
Detection and exposure assessment
Users can assess their exposure by verifying if their installed TNEF version is below 1.4.18 or if they are using affected versions of Fedora, Ubuntu, or Debian [1].
Remediation
The vulnerability was resolved in a pull request that corrected the bitshift behavior and ensured correct string null termination [3]. A security update was released for affected systems [4].
Remediation checklist
- Upgrade the TNEF project to version 1.4.18 [1].
- Apply the security update for affected Ubuntu versions [4].
- Check for affected Fedora and Debian versions [1]; the NVD record lists no fixed version for them.
- Monitor for any signs of memory corruption or system crashes linked to the TNEF project.
- The flaw could be exploited if a user is tricked into opening a malicious email attachment [4].
Evidence gaps
- The sources do not describe the internal workings of the affected component.
- The sources do not provide specific attack steps or scenarios.
- The sources do not mention any alternative solutions.
- The sources do not specify full version ranges for all affected products.
- The sources do not list fixed versions for fedoraproject fedora, canonical ubuntu linux, and debian linux.
References
- CVE-2019-18849 record. NIST National Vulnerability Database (NVD), 2026-06-17. https://nvd.nist.gov/vuln/detail/CVE-2019-18849. Accessed 2026-12-01.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-12-01. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-12-01.
- Patch page (github.com). github.com. https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18. Accessed 2026-12-01.
- USN-9343-1: TNEF vulnerabilities. Ubuntu USN, 2026-12-01. https://ubuntu.com/security/notices/USN-9343-1. Accessed 2026-12-01.
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…
Severity breakdown
Medium · 5.5
An attacker without an account can exploit this with local access if a user is tricked into an action.
- Attack from
- local access (a logged-in user, or a malicious file opened on the device)
- Attack complexity
- low (no special conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- high on availability, none on confidentiality and integrity
Weakness
- CWE-125: Out-of-bounds Read
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| tnef project tnef | < 1.4.18 | 1.4.18 |
| fedoraproject fedora | 30, 31 | — |
| canonical ubuntu linux | 16.04 | — |
| debian linux | 8.0 | — |
Public exploits
Exploit available
References by type
Patches and fixed releases
Other references
Frequently asked questions
What is CVE-2019-18849?
CVE-2019-18849 impacts the TNEF project and multiple Linux distributions, with a CVSS 3.1 score of 5.5 MEDIUM, assigned by NVD. The issue involves incorrect handling of filenames by TNEF, with buffer boundary problems when processing uncompressed data. The reviewed sources do not confirm any exploitation. The recommended action for the TNEF project is to move to 1.4.18, the version NVD lists as fixed. Weakness type: Out-of-bounds Read (CWE-125).
How severe is CVE-2019-18849?
CVE-2019-18849 has a CVSS 3.1 base score of 5.5 (medium), from NVD. An attacker without an account can exploit this with local access if a user is tricked into an action.
Is CVE-2019-18849 being exploited?
Not as far as is known: CVE-2019-18849 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026. Exploit code or a proof of concept has been published, which makes attacks more likely. EPSS estimates a 1.2% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2019-18849?
tnef project tnef < 1.4.18 (fixed in 1.4.18); fedoraproject fedora 30, 31; canonical ubuntu linux 16.04; debian linux 8.0.
How do I fix CVE-2019-18849?
Upgrade the TNEF project to version 1.4.18. Apply the security update for affected Ubuntu versions. Check for affected Fedora and Debian versions; the NVD record lists no fixed version for them.