Memory Access Vulnerability in HTSlib Library for Bioinformatics
CVE-2026-62259
6.9MEDIUM
What is CVE-2026-62259?
HTSlib, a widely used library for bioinformatics file formats, has introduced vulnerabilities in its CRAM v4 functions (cram_xpack_decode_char and cram_xrle_decode_char). Prior to versions 1.21.2, 1.22.3, 1.23.2, and 1.24, these functions failed to validate the sizes of attacker-controlled decode operations, allowing crafted CRAM data to lead to out-of-bounds memory reads. This can potentially result in unauthorized disclosure of sensitive process-state information or cause crashes due to invalid memory accesses. Users are advised to upgrade to the latest versions to mitigate these security risks.
Affected Version(s)
htslib < 1.21.2 < 1.21.2
htslib >= 1.22.0, < 1.22.3 < 1.22.0, 1.22.3
htslib >= 1.23.0, < 1.23.2 < 1.23.0, 1.23.2
