CVE-2026-116742: falha de média gravidade em samtools htslib
HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 4.8epss 0.1%
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:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
Produtos afetados
samtools · htslibCVEs relacionadas — samtools htslib
No mesmo produto, das mais perigosas para as menos.
CVE-2026-31966MEDIUMHTSlib CRAM reader has out-of-bounds read due to improper validation of inputEPSS 0.5%CVE-2026-31970HIGHHTSlib BGZF index file reader has a heap buffer overflowEPSS 0.5%CVE-2026-31967MEDIUMHTSlib CRAM reader has out-of-bounds read due to improper validation of inputEPSS 0.5%CVE-2026-31968HIGHHTSlib CRAM decoder vulnerable to buffer overflowEPSS 0.4%CVE-2026-31965MEDIUMHTSlib CRAM reader has out-of-bounds reads due to improper validation of inputEPSS 0.4%CVE-2026-31962HIGHHTSlib CRAM reader has heap buffer overflow due to improper validation of inputEPSS 0.4%
Referências
https://github.com/samtools/htslibhttps://github.com/samtools/htslib/blob/1.24/bgzf.c#L2504https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873https://github.com/samtools/htslib/issues/2113https://github.com/samtools/htslib/pull/2057https://hackmd.io/@haindpwn/htslib-bgzf-gzi-int-truncation-oobhttps://www.vulncheck.com/advisories/htslib-through-1.24-heap-out-of-bounds-write-via-truncated-gzi-index-count