Source: libytnef
Version: 2.1.2-1
X-Debbugs-CC: [email protected]
Severity: grave
Tags: security upstream

Hi,

The following vulnerabilities were published for libytnef.

CVE-2026-111145[0]:
| 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.


CVE-2026-111146[1]:
| 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.

And there is GHSA-jhg4-xcxm-cfg6, [2].


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-111145
    https://www.cve.org/CVERecord?id=CVE-2026-111145
[1] https://security-tracker.debian.org/tracker/CVE-2026-111146
    https://www.cve.org/CVERecord?id=CVE-2026-111146
[2] https://github.com/Yeraze/ytnef/security/advisories/GHSA-jhg4-xcxm-cfg6
[3] 
https://github.com/Yeraze/ytnef/commit/4729c3f2662bd0340cbaa6e7281442292c22d227

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore

Reply via email to