libytnef — security advisory
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.
- Products
- libytnef
- Affected versions
- 2.0-1, 2.1.2-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-111146
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 23:08 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2026-111146
libytnef
Fixed versions: Not specified
libytnef
Fixed versions: Not specified
libytnef
Fixed versions: Not specified
Complete source record
{
"id": "73b442034c4d8e080cccfcdbd814c5ec091541e1dd88898f0af79c23803b93b6",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-111146",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-111146",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2026-111146",
"products": [
{
"name": {
"value": "libytnef",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.1.2-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "libytnef",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.2-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "libytnef",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.1.2-1",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-111146",
"aliases": [
"DEBIAN-CVE-2026-111146"
],
"metrics": [
{
"type": "CVSS_V4",
"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libytnef",
"purl": "pkg:deb/debian/libytnef?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.0-1",
"2.1.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111146.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libytnef",
"purl": "pkg:deb/debian/libytnef?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.1.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111146.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libytnef",
"purl": "pkg:deb/debian/libytnef?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.1.2-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-111146.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T17:47:35.998498522Z",
"provider": "osv",
"upstream": [
"CVE-2026-111146"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-111146"
]
},
"related_cves": [
{
"value": "CVE-2026-111146",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 417856,
"published_at": "2026-10-15T19:17:29.04+00:00"
}