CVE-2026-116742
4.4 MEDIUMpublic exploit availablePublished 2026-10-26 · Updated 2026-10-26
AI analysis for this CVE has not been generated yet. Raw NVD data is shown below.
NVD 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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Weaknesses
CWE-197
Public exploit & PoC references
All references
- https://github.com/samtools/htslib
- https://github.com/samtools/htslib/blob/1.24/bgzf.c#L2504
- https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873
- https://github.com/samtools/htslib/issues/2113
- https://github.com/samtools/htslib/pull/2057
- https://hackmd.io/@haindpwn/htslib-bgzf-gzi-int-truncation-oob
- https://www.vulncheck.com/advisories/htslib-through-1.24-heap-out-of-bounds-write-via-truncated-gzi-index-count
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-100201
- MEDIUMCVE-2026-101085PoC
- MEDIUMCVE-2026-102043
- HIGHCVE-2026-102225
- UNSCOREDCVE-2026-105768PoC
- HIGHCVE-2026-108450
- HIGHCVE-2026-108451
- HIGHCVE-2026-109588PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.