Skip to main content

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… (CVE-2026-103680)

0
Medium
Published: 10/01/2026 (10/01/2026, 12:17:00 UTC)
Source: GCVE Database
Product: tnef

Description

A heap-based buffer overflow vulnerability exists in the tnef utility's find_free_number() function when generating numbered backup suffixes for duplicate filenames. This occurs if numbered backups are enabled and file overwriting is disabled, allowing an attacker to supply a crafted TNEF file with many colliding attachment filenames. The overflow can cause application crashes resulting in denial of service or potentially allow arbitrary code execution.

CVSS v3.1

Score 6.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Affected software

Ubuntu:16.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=xenial
Affected 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
Ubuntu:18.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=bionic
Affected versions
=1.4.12-1.2
Ubuntu:20.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=focal
Affected versions
=1.4.12-1.2=1.4.18-1
Ubuntu:22.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=jammy
Affected versions
=1.4.18-3
Ubuntu:24.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=noble
Affected versions
=1.4.18-3
Ubuntu:26.10more threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=stonking
Affected versions
=1.4.18-5build1=1.4.18-6
Ubuntu:26.04:LTSmore threats →ghsa
tnef
pkg:deb/ubuntu/tnef?arch=source&distro=resolute
Affected versions
=1.4.18-5=1.4.18-5build1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/17/2026, 22:42:27 UTC

Technical Analysis

The vulnerability in tnef (CVE-2026-103680) is a heap-based buffer overflow in the find_free_number() function. When numbered backups are enabled and file overwriting is disabled, supplying a specially crafted Transport Neutral Encapsulation Format (TNEF) file with excessive colliding attachment filenames causes the numeric counter to write beyond the allocated memory buffer. This can lead to application crashes or potentially arbitrary code execution.

Potential Impact

Successful exploitation can cause the tnef application to crash, resulting in denial of service (DoS). There is also potential for arbitrary code execution, which could allow an attacker to execute malicious code within the context of the vulnerable application.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid processing untrusted TNEF files with numbered backups enabled and file overwriting disabled to reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-103680
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:16.04:LTS","Ubuntu:18.04:LTS","Ubuntu:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.10","Ubuntu:26.04:LTS"]
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6ad3f4f62cdf04f6566575f9

Added to database: 10/17/2026, 22:21:42 UTC

Last enriched: 10/17/2026, 22:42:27 UTC

Last updated: 10/17/2026, 22:42:27 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses