What’s Vulnerable › Vulnerabilities
CVE-2026-103680: Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-01 · updated 2026-10-05
- Weakness: CWE-787
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.
Affected products
- Tnef Project Tnef: through 1.4.18
References
- https://access.redhat.com/security/cve/CVE-2026-103680
- https://bugzilla.redhat.com/show_bug.cgi?id=2544478
- https://github.com/verdammelt/tnef
Get alerted when CVE-2026-103680 or the next vulnerability affects your stack