---
id: CVE-2026-103678
title: A flaw was found in tnef
summary: >-
  A flaw was found in tnef. An attacker can exploit this vulnerability by
  providing a specially crafted file containing uncompressed Rich Text Format
  (RTF) data. Because the application fails to properly validate input buffer
  boundaries be…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L'
cwe:
  - CWE-125
product: tnef
affected:
  - tnef <= 1.4.18
published: '2026-10-01'
updated: '2026-10-01'
sourceUpdated: '2026-10-01T13:02:09.610'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103678'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2026-103678'
    label: patrick@puiterwijk.org
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2544476'
    label: patrick@puiterwijk.org
  - url: 'https://github.com/verdammelt/tnef'
    label: patrick@puiterwijk.org
tags:
  - nvd
  - cve.org
ingestedAt: '2026-10-01T12:43:54.810Z'
---

## Overview

A flaw was found in tnef. An attacker can exploit this vulnerability by providing a specially crafted file containing uncompressed Rich Text Format (RTF) data. Because the application fails to properly validate input buffer boundaries before copying data in get_rtf_data_from_buf(), reading beyond the allocated memory occurs. This flaw can cause the application to crash, leading to a Denial of Service (DoS), or leak sensitive memory contents into extracted output files.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
