Buffer Overflow Vulnerability in HTSlib Bioinformatics Library
CVE-2026-62258

8.8HIGH

Key Information:

Vendor

Samtools

Status
Vendor
CVE Published:
19 November 2026

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

References

CVSS V4

Score:
8.8
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.