{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.1.2"
              },
              {
                "fixed": "2.1.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "d9f089144414d3b0912c29ab96f8f1c591d00319"
            }
          ],
          "repo": "https://github.com/yeraze/ytnef",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111145.json"
  },
  "details": "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.",
  "id": "CVE-2026-111145",
  "modified": "2026-10-17T02:30:51.959548867Z",
  "published": "2026-10-15T18:57:36.084Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111145.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-111145"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/ytnef-through-2.1.2-heap-out-of-bounds-read-via-decompressrtf"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Yeraze/ytnef/issues/112"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Yeraze/ytnef"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Yeraze/ytnef/blob/d9f089144414d3b0912c29ab96f8f1c591d00319/lib/ytnef.c#L1554-L1563"
    },
    {
      "type": "EVIDENCE",
      "url": "https://hackmd.io/@haind-pwn/ytnef-decompressrtf-oob-read"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ytnef through 2.1.2 Heap Out-of-Bounds Read via DecompressRTF"
}