Medium severity · published Oct 1, 2026
CVE-2026-103680
Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation
6.5
CVSS
0.3%
EPSS
No
On KEV
Description
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 specially crafted Transport Neutral Encapsulation Format (TNEF) file with an excessive number of colliding attachment filenames, causing the numeric counter to write past the allocated memory buffer. This issue may result in an application crash, leading to a Denial of Service (DoS), or potentially arbitrary code execution.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TN
Tnef · Tnef Project
through 1.4.18 · source: NVD
Affected product
TN
Tnef
Tnef Project
More from Tnef
9.8
CVE-2017-8911
An integer underflow has been identified in the unicode_to_utf8() function in tnef 1.4.14
8.1
CVE-2026-103678
Tnef: heap out-of-bounds read in get_rtf_data_from_buf() via uncompressed rtf mapi value
7.8
CVE-2017-6310
An issue was discovered in tnef before 1.4.13
7.8
CVE-2017-6309
An issue was discovered in tnef before 1.4.13
7.8
CVE-2017-6308
An issue was discovered in tnef before 1.4.13