Buffer Overflow Vulnerability in HTSlib Bioinformatics Library
CVE-2026-62258
8.8HIGH
What is CVE-2026-62258?
HTSlib, a key library for handling bioinformatics file formats, has a vulnerability in its CRAM decoder that allows an attacker to exploit a buffer overflow. This occurs when a CRAM record with an excessively long query name is processed, compromising the local stack before validation occurs. All versions prior to 1.21.2, 1.22.3, 1.23.2, and 1.24 are susceptible. This flaw can lead to application crashes, corruption of stack data, and might allow for arbitrary code execution. Users are advised to upgrade to the fixed versions to mitigate these 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
