{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-116742","published":"2026-10-26T22:16:58.680000Z","last_modified":"2026-10-27T16:04:22.707000Z","status":"Deferred","cvss":{"version":"4.0","score":4.8,"severity":"MEDIUM","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-197"],"cpes":[],"cpes_truncated":false,"vendors":["samtools"],"products":["samtools/htslib"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":29,"links":{"html_es":"/es/cve/CVE-2026-116742/","html_en":"/en/cve/CVE-2026-116742/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-116742","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-116742"},"untrusted":{"vendor_name":"samtools","product_name":"htslib","desc_en":"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.","affected":[{"untrusted_vendor":"samtools","untrusted_product":"htslib","versions":[]}],"references":[{"url":"https://github.com/samtools/htslib","tags":[]},{"url":"https://github.com/samtools/htslib/blob/1.24/bgzf.c#L2504","tags":[]},{"url":"https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873","tags":[]},{"url":"https://github.com/samtools/htslib/issues/2113","tags":[]},{"url":"https://github.com/samtools/htslib/pull/2057","tags":[]},{"url":"https://hackmd.io/@haindpwn/htslib-bgzf-gzi-int-truncation-oob","tags":[]},{"url":"https://www.vulncheck.com/advisories/htslib-through-1.24-heap-out-of-bounds-write-via-truncated-gzi-index-count","tags":[]}]}}