CVE-2026-62259
Received
Received - Intake
Buffer Overflow in HTSlib CRAM Decoder
Vulnerability report for CVE-2026-62259, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-19
Last updated on: 2026-11-19
Assigner: GitHub, Inc.
Description
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| htslib | htslib | to 1.21.2 (inc) |
| htslib | htslib | to 1.22.3 (inc) |
| htslib | htslib | to 1.23.2 (inc) |
| htslib | htslib | to 1.24 (inc) |
| samtools | htslib | 1.21.2 |
| samtools | htslib | 1.22.3 |
| samtools | htslib | 1.23.2 |
| samtools | htslib | 1.24 |
| samtools | htslib | to 1.21.2 (exc) |
| samtools | htslib | to 1.22.2 (exc) |
| samtools | htslib | to 1.23.1 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-129 | The product uses untrusted input when calculating or using an array index, but the product does not validate or incorrectly validates the index to ensure the index references a valid position within the array. |
| CWE-125 | The product reads data past the end, or before the beginning, of the intended buffer. |