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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | tnef | ≤ 1.4.18 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tnef | No fix yet | — |
| Debian 13 | tnef | No fix yet | — |
| Debian 12 | tnef | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tnef | No fix yet | — |
| Ubuntu 26.04 LTS | tnef | No fix yet | — |
| Ubuntu 24.04 LTS | tnef | No fix yet | — |
| Ubuntu 22.04 LTS | tnef | No fix yet | — |
| Ubuntu 20.04 LTS | tnef | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | tnef | No fix yet | — |
| Ubuntu 16.04 LTS | tnef | No fix yet | — |
References
- https://access.redhat.com/security/cve/CVE-2026-103680 vdb-entry
- RHBZ#2544478 issue-tracking
- https://github.com/verdammelt/tnef