Vulnerability · Published Oct 1, 2026 · Assigned by fedora
CVE-2026-103680Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation
Low 3.1
In plain English
A low-severity out-of-bounds write in tnef. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities).
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tnef | no fix listed | DEBIAN-CVE-2026-103680 |
| Debian:13 | tnef | no fix listed | DEBIAN-CVE-2026-103680 |
| Debian:14 | tnef | no fix listed | DEBIAN-CVE-2026-103680 |
| Ubuntu:22.04:LTS | tnef | no fix listed | UBUNTU-CVE-2026-103680 |
| Ubuntu:24.04:LTS | tnef | no fix listed | UBUNTU-CVE-2026-103680 |
| Ubuntu:26.04:LTS | tnef | no fix listed | UBUNTU-CVE-2026-103680 |
| Ubuntu:26.10 | tnef | no fix listed | UBUNTU-CVE-2026-103680 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tnef | 0 – through 1.4.18 |
Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
References
- https://access.redhat.com/security/cve/CVE-2026-103680 vdb-entry, x_refsource_REDHAT
- RHBZ#2544478 issue-tracking, x_refsource_REDHAT
- https://github.com/verdammelt/tnef