Skip to content
OpenAdvisories
Low · 3.1 CVE-2026-103680 EUVD-2026-90773GHSA-qr96-v34j-wcrq

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

Published Oct 1, 2026 · Updated Oct 1, 2026 · Assigned by fedora

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
Debian 14 tnef No fix yet —
Debian 13 tnef No fix yet —
Debian 12 tnef No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS tnef No fix yet —
Ubuntu 16.04 LTS tnef No fix yet —

References