Skip to content
Heist/ feed
Medium

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-111146

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-111146

ytnef

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://github.com/Yeraze/ytnef",
    "vendor": "Yeraze",
    "product": "ytnef",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "versionType": "semver",
        "lessThanOrEqual": "2.1.2"
      }
    ],
    "packageURL": "pkg:github/Yeraze/ytnef",
    "collectionURL": "https://github.com/Yeraze/ytnef",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-111146

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#30134 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement