This site currently shows sample data for demonstration.

Vulnerabilities

CVE-2026-116742 | BDVDB-2026-396129 Detail

samtoolshtslib

Description#

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.

Impact#

Per CVSS v3.1: confidentiality impact none, integrity impact low, availability impact low. Attack vector: local.

Weaknesses#

References#

Exploit#

No public exploit known

History#

  1. Version 1Record published in the CVE List.
  2. Version 2Most recent update recorded in the CVE List.