Out-of-bounds Read in Samtools Htslib
CVE-2026-31965
HTSlib is a library for reading and writing bioinformatics file formats. CRAM is a compressed format which stores DNA sequence alignment data. In the `cram_decode_slice()` function called while reading CRAM records, validation of the refer…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (5.5th percentile) — read the EPSS interpretation.
Affected products
- Samtools Htslib — versions < 1.21.1, >= 1.22, < 1.22.2, = 1.23
Weakness classification (CWE)
References
- https://github.com/samtools/htslib/security/advisories/GHSA-mqm2-v645-3qhr (x_refsource_CONFIRM)
- https://github.com/samtools/htslib/commit/9cefb46453ad471e933b8212d4f45920524d3357 (x_refsource_MISC)