Article View: linux.debian.bugs.dist
Article #5306Bug#1154657: libytnef: CVE-2026-111145 CVE-2026-111146 and GHSA-jhg4-xcxm-cfg6
From: Salvatore Bonaccorso
Date: Sat, 21 Nov 2026 09:00
Date: Sat, 21 Nov 2026 09:00
46 lines
3125 bytes
3125 bytes
Source: libytnef
Version: 2.1.2-1
X-Debbugs-CC: team@security.debian.org
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
Technical Details
Message-ID:
<O1P6V-deVP-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Salvatore Bonaccorso <carnil@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1154657: libytnef: CVE-2026-111145 CVE-2026-111146 and GHSA-jhg4-xcxm-cfg6 Date: Sat, 21 Nov 2026 10:00:01 +0100 Message-ID: <O1P6V-deVP-7@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sat Nov 21 08:55:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Salvatore Bonaccorso <carnil@debian.org>, 1154657@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, mones@debian.org X-Debian-Pr-Message: report 1154657 X-Debian-Pr-Package: src:libytnef X-Debian-Pr-Keywords: security upstream X-Debian-Pr-Source: libytnef MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-User: carnil X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003843 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 46 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sat, 21 Nov 2026 09:53:06 +0100 X-Original-Message-ID: <awFb8tC_6V8KERKo@eldamar.lan>