Buffer overflow in Samtools Htslib
CVE-2026-31968
HTSlib is a library for reading and writing bioinformatics file formats. CRAM is a compressed format which stores DNA sequence alignment data using a variety of encodings and compression methods. For the `VARINT` and `CONST` encodings, inc…
Vulnerability class: Buffer Overflow
EPSS: 0.000 (5.6th 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-cgcm-c9r2-p57j (x_refsource_CONFIRM)
- https://github.com/samtools/htslib/commit/0ec436796eca7b4ce7fcc9b77270c102da29bb2e (x_refsource_MISC)