PT-2026-26137 · Htslib · Htslib

Daviesrob

·

Published

2026-01-01

·

Updated

2026-03-18

·

CVE-2026-31963

CVSS v4.0

8.8

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions HTSlib versions prior to 1.23.1 HTSlib version 1.22.2 HTSlib version 1.21.1
Description HTSlib is a library used for reading and writing bioinformatics file formats. The issue relates to the CRAM decoder, which has a heap buffer overflow due to improper validation of input data. Specifically, an out-by-one error in a test for CRAM features beyond the extent of the CRAM record sequence can lead to an invalid write of one attacker-controlled byte beyond the end of a heap buffer. Exploitation of this issue could lead to program crashes or overwriting of data and heap structures, potentially resulting in arbitrary code execution.
Recommendations Update HTSlib to version 1.23.1 or later. For HTSlib version 1.22.2, update to version 1.23.1 or later. For HTSlib version 1.21.1, update to version 1.23.1 or later.

Exploit

Fix

Heap Based Buffer Overflow

Improper Validation of Array Index

Memory Corruption

Weakness Enumeration

Related Identifiers

CVE-2026-31963
GHSA-QGQH-H2Q9-7W3C

Affected Products

Htslib