CVE-2026-116742

HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count

  • Medium 4.8

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.

Key facts

Published
26 Oct 2026
Last changed
27 Oct 2026
Assigned by
VulnCheck
EPSS
0.123% likely to be exploited in the next 30 days, higher than 2.139% of CVEs (scores for 17 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: no; Technical impact: partial

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 4.8CVSS 4.0, Mediumfrom the CNA (VulnCheck)CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
  • 4.4CVSS 3.1, Mediumfrom the CNA (VulnCheck)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
samtoolshtslib
  • Default status: unaffected
  • 0 up to and including 1.24 (affected)

Timeline

  1. 26 Oct 2026 Published

Weakness

References