Description
ytnef through 2.1.2 contains a heap out-of-bounds read vulnerability in DecompressRTF() in lib/ytnef.c that never validates uncompressedSize for uncompressed RTF streams. Attackers can supply a crafted winmail.dat TNEF attachment with a malicious PT_BINARY MAPI property to crash ytnefprint or libytnef callers and leak adjacent heap memory.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Memory Leak and Denial of Service
Action: Apply Patch
AI Analysis

Impact

ytnef through 2.1.2 contains a heap out‑of‑bounds read in the DecompressRTF() function. The function never validates the uncompressedSize of an RTF stream, enabling an attacker to read memory beyond the intended buffer. This flaw can leak data stored adjacent on the heap and cause ytnefprint or any libytnef caller to crash.

Affected Systems

The vulnerability affects all releases of Yeraze's ytnef up to and including version 2.1.2.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, while the EPSS score of less than 1% shows a low likelihood of exploitation at present. The issue is not listed in the CISA KEV catalog. Attacks require the attacker to supply a crafted winmail.dat TNEF attachment containing a malicious PT_BINARY MAPI property; when ytnef processes such a file on a target system, it can read arbitrary heap data and terminate unexpectedly. The exploit path hinges on the ability to feed the vulnerable function with an invalid uncompressedSize value, which is not checked.

Generated by OpenCVE AI on October 16, 2026 at 17:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update ytnef to a version newer than 2.1.2 or apply any vendor‑supplied patch that adds bounds validation to DecompressRTF()
  • Implement an input‑validation layer that verifies the uncompressedSize of RTF streams before decompression, ensuring it does not exceed safe limits
  • Monitor system logs for ytnef crashes or abnormal memory reads and investigate any incidents promptly

Generated by OpenCVE AI on October 16, 2026 at 17:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 15 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Description ytnef through 2.1.2 contains a heap out-of-bounds read vulnerability in DecompressRTF() in lib/ytnef.c that never validates uncompressedSize for uncompressed RTF streams. Attackers can supply a crafted winmail.dat TNEF attachment with a malicious PT_BINARY MAPI property to crash ytnefprint or libytnef callers and leak adjacent heap memory.
Title ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF
First Time appeared Ytnef Project
Ytnef Project ytnef
Weaknesses CWE-125
CPEs cpe:2.3:a:ytnef_project:ytnef:*:*:*:*:*:*:*:*
Vendors & Products Ytnef Project
Ytnef Project ytnef
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 6.9, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Ytnef Project Ytnef
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T01:20:26.553Z

Reserved: 2026-10-15T17:03:58.228Z

Link: CVE-2026-111145

cve-icon Vulnrichment

Updated: 2026-10-21T01:20:21.000Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T19:17:28.873

Modified: 2026-10-21T02:17:04.190

Link: CVE-2026-111145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T13:30:08Z

Weaknesses