Bug 2561437 (CVE-2026-116742) - CVE-2026-116742 htslib: htslib: Denial of Service via crafted index file
Summary: CVE-2026-116742 htslib: htslib: Denial of Service via crafted index file
Keywords:
Status: NEW
Alias: CVE-2026-116742
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2565667 2565668
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-26 22:31 UTC by OSIDB Bzimport
Modified: 2026-11-03 09:59 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-26 22:31:55 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.