CVE-2026-63390: HTSlib: Heap buffer overflow in BCF reader due to improper validation of input.
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 BCF reader can experience an integer overflow in a record-length check that verifies whether a record contains enough bytes for the expected number and size of stored items. A crafted BCF record can bypass this check, causing reads beyond the stored data and, in some cases, writes beyond the heap buffer when the reader sets the least significant bit of accessed bytes. Opening such a file can crash the process, corrupt data or heap structures, and may permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.21.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.22.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.23.2 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.24
Event History
Frequently Asked Questions
Does exploitation require authentication or user interaction?
The published vector indicates network attackability with no privileges or user interaction required. Exploitation still depends on an affected application processing a crafted BCF record.
What should teams monitor for if they suspect exploitation?
Opening a malicious BCF file may crash the process or cause data or heap-structure corruption. In some cases, the heap buffer write may permit arbitrary code execution.