CVE-2026-62258: falha de alta gravidade em samtools htslib
HTSlib: Stack write overflow in HTSlib CRAM decoder
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
21Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 8.8epss 0.8%
HTSlib is a library for reading and writing bioinformatics file formats. Prior to 1.21.2, 1.22.3, 1.23.2, and 1.24, the CRAM decoder validates the 254-character query-name limit only after decoding the name into a 1024-byte stack array. An attacker-controlled CRAM record can provide an overlong query name and overflow the local stack buffer before the later validation runs; all CRAM format versions are affected. Opening such a file can crash the process, corrupt stack data, and may permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/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-63390HIGHHTSlib: Heap buffer overflow in BCF reader due to improper validation of input.EPSS 0.9%CVE-2026-62257HIGHHTSlib: Heap read and write overflow in HTSlib CRAM 4.0 decoderEPSS 0.8%CVE-2026-62255HIGHHTSlib: Heap write overflow in HTSlib CRAM index handlingEPSS 0.6%CVE-2026-31966MEDIUMHTSlib CRAM reader has out-of-bounds read due to improper validation of inputEPSS 0.6%CVE-2026-62260MEDIUMHTSlib: Out-of-bounds read in HTSlib CRAM 3.x and 4.0 readers due to improper validation of inputEPSS 0.5%CVE-2026-62259MEDIUMHTSlib: Out-of-bounds read in HTSlib CRAM 4.0 reader due to improper validation of inputEPSS 0.5%
Referências
https://github.com/samtools/htslib/commit/25278797c251a9af789382ecf5aa0c86f417bdf5https://github.com/samtools/htslib/commit/df93e245f1b517aec86c69684fcb2faf5942c5c2https://github.com/samtools/htslib/commit/f1d1bf835aaafa1e511996dcd49760c36f683b17https://github.com/samtools/htslib/pull/2046https://github.com/samtools/htslib/releases/tag/1.21.2https://github.com/samtools/htslib/releases/tag/1.22.3https://github.com/samtools/htslib/releases/tag/1.23.2https://github.com/samtools/htslib/releases/tag/1.24https://github.com/samtools/htslib/security/advisories/GHSA-2jx2-wm7f-rv9m