Article View: linux.debian.bugs.rc
Article #3732Bug#1154639: htslib: CVE-2026-116742
From: Moritz Mühlenhoff
Date: Fri, 20 Nov 2026 23:10
Date: Fri, 20 Nov 2026 23:10
31 lines
2553 bytes
2553 bytes
Source: htslib
X-Debbugs-CC: team@security.debian.org
Severity: grave
Tags: security
Hi,
The following vulnerability was published for htslib.
CVE-2026-116742[0]:
| HTSlib through 1.24 contains a heap out-of-bounds write and read
| vulnerability in bgzf_index_load_hfile() in bgzf.c that allows
| attackers to corrupt heap memory by supplying a crafted .gzi index
| entry count. A count of 0xFFFFFFFF truncates noffs to zero, causing
| writes past a malloc(0) buffer and an offs[-1] read in bgzf_useek(),
| resulting in heap corruption or crashes in tools like samtools and
| bcftools.
https://github.com/samtools/htslib/pull/2057
Fixed by: https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873 (1.25)
If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-116742
https://www.cve.org/CVERecord?id=CVE-2026-116742
Please adjust the affected versions in the BTS as needed.
Technical Details
Message-ID:
<O1FTX-daaG-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Moritz Mühlenhoff <jmm@inutil.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1154639: htslib: CVE-2026-116742 Date: Sat, 21 Nov 2026 00:10:01 +0100 Message-ID: <O1FTX-daaG-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Nov 20 23:01:11 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: 1.684 Reply-To: Moritz Mühlenhoff <jmm@inutil.org>, 1154639@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: team@security.debian.org, debian-med-packaging@lists.alioth.debian.org X-Debian-Pr-Message: report 1154639 X-Debian-Pr-Package: src:htslib X-Debian-Pr-Keywords: security X-Debian-Pr-Source: htslib MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/839006 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 31 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 20 Nov 2026 23:59:54 +0100 X-Original-Message-ID: <awDQ6kyecdr6N_xt@pisco.westfalen.local>