CVE-2026-103680

Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation

Published Oct 1, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Tnef Project
Tnef Project tnef
CPEs cpe:2.3:a:tnef_project:tnef:*:*:*:*:*:*:*:*
Vendors & Products Tnef Project
Tnef Project tnef
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Verdammelt
Verdammelt tnef
Vendors & Products Verdammelt
Verdammelt tnef
Type Values Removed Values Added
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.
Title Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Oct 1, 2026, 2:58 PM
Reserved
Oct 1, 2026, 9:06 AM
Status
Analyzed
Published
Oct 1, 2026, 12:17 PM
Modified
Oct 5, 2026, 1:42 PM