Description
ytnef through 2.1.2 contains a heap out-of-bounds read vulnerability in MAPIPrint() that allows attackers to read past heap allocations by supplying compressed RTF properties. Attackers can deliver a crafted winmail.dat whose decompressed RTF lacks a NUL terminator, causing printf to over-read, crashing ytnefprint and leaking adjacent heap bytes.
Published: 2026-10-15
Score: 6.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Apply Patch
AI Analysis

Impact

ytnef versions up to 2.1.2 contain a heap out‑of‑bounds read inside the MAPIPrint() routine. By supplying a crafted winmail.dat file whose decompressed RTF payload omits the terminating NUL byte, an attacker can cause the internal printf call to read beyond the intended buffer. This over‑read can result in a crash of ytnefprint and the leakage of adjacent heap bytes, potentially revealing sensitive data stored in memory. The vulnerability does not lead to code execution, but it grants an attacker the ability to retrieve arbitrary information from the process address space.

Affected Systems

The affected vendor is Yeraze, with the ytnef project. All releases of ytnef through version 2.1.2 are affected. Versions 2.1.3 and later are believed to contain the fix.

Risk and Exploitability

The CVSS v3 score is 6.9, indicating a medium severity disclosure. The EPSS score is below 1 %, suggesting a low likelihood of exploitation at this time. It is not listed in the CISA KEV catalog. The attack vector is inferred to be local or remote file ingestion; an attacker must supply a malicious winmail.dat payload to cause the over‑read. Given the lack of a remote code execution path and the low EPSS, the overall risk is moderate, but any system that processes untrusted winmail.dat files should address it promptly.

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

  • Upgrade ytnef to version 2.1.3 or newer, which removes the out‑of‑bounds read in MAPIPrint.
  • Validate or filter incoming winmail.dat files to ensure that any RTF payload is null‑terminated before de‑compression and printing.
  • Apply memory‑sanitizing techniques or run ytnef in a restricted sandbox to contain leaks and detect anomalous read patterns.

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

Thu, 15 Oct 2026 20: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 MAPIPrint() that allows attackers to read past heap allocations by supplying compressed RTF properties. Attackers can deliver a crafted winmail.dat whose decompressed RTF lacks a NUL terminator, causing printf to over-read, crashing ytnefprint and leaking adjacent heap bytes.
Title ytnef through 2.1.2 Heap Out-of-Bounds Read via MAPIPrint in lib/ytnef.c
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-15T19:45:21.657Z

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

Link: CVE-2026-111146

cve-icon Vulnrichment

Updated: 2026-10-15T19:42:23.910Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-111146

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T13:30:07Z

Weaknesses