p PatchFirst

CVE-2026-103680

CVE-2026-103680 · Tnef: heap buffer overflow in find_free_number() via numbered-backup suffix generation

CVSS 3.1 · Low · EPSS 0.6%

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • tnef Debian 12No fix published
  • tnef Debian 13No fix published
  • tnef Debian 14No fix published
  • tnef Ubuntu 16.04 LTSNo fix published
  • and 6 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="tnef"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • tnef Debian 12

    Versions
    • 1.4.18-3
    • 1.4.18-4
    • 1.4.18-5
    • 1.4.18-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Debian 13

    Versions
    • 1.4.18-4
    • 1.4.18-5
    • 1.4.18-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Debian 14

    Versions
    • 1.4.18-4
    • 1.4.18-5
    • 1.4.18-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 16.04 LTS

    Versions
    • 1.4.9-1
    • 1.4.9-1+deb8u2build0.16.04.1
    • 1.4.9-1+deb8u3build0.16.04.1
    • 1.4.9-1+deb8u4build0.16.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 18.04 LTS

    Versions
    • 1.4.12-1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 20.04 LTS

    Versions
    • 1.4.12-1.2
    • 1.4.18-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 22.04 LTS

    Versions
    • 1.4.18-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 24.04 LTS

    Versions
    • 1.4.18-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 26.10

    Versions
    • 1.4.18-5build1
    • 1.4.18-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • tnef Ubuntu 26.04 LTS

    Versions
    • 1.4.18-5
    • 1.4.18-5build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →