CVE-2026-62259: medium-severity vulnerability in samtools htslib
HTSlib: Out-of-bounds read in HTSlib CRAM 4.0 reader due to improper validation of input
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.5%
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 experimental CRAM v4 functions cram_xpack_decode_char and cram_xrle_decode_char do not validate that attacker-controlled decode sizes remain within their expanded input arrays. Crafted CRAM data can therefore make either decoder read beyond the supplied input buffer, potentially disclosing process-state information or crashing the process through invalid memory access. 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:L/VI:N/VA:L/SC:N/SI:N/SA:N
Affected products
samtools · htslibRelated CVEs — samtools htslib
In the same product, most dangerous first.
CVE-2026-63390HIGHHTSlib: Heap buffer overflow in BCF reader due to improper validation of input.EPSS 0.9%CVE-2026-62258HIGHHTSlib: Stack write overflow in HTSlib CRAM decoderEPSS 0.8%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%
References
https://github.com/samtools/htslib/commit/76147edc658e5c19cbae52ececf5e3af81e8998ahttps://github.com/samtools/htslib/commit/a1f929da9f207b099bfc1f5a74aee94fc0eeba6ahttps://github.com/samtools/htslib/commit/a3e8dca14dcfdc6167281721ede6d6ecd3395badhttps://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-hg3g-v57p-459q