CVE-2026-111146

ytnef through 2.1.2 Heap Out-of-Bounds Read via MAPIPrint in lib/ytnef.c

Published Oct 15, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 15, 2026, 7:45 PM
Reserved
Oct 15, 2026, 5:03 PM
Status
Deferred
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 16, 2026, 6:25 PM