CVE-2026-62257
Published:November 19, 2026
Updated:November 20, 2026
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 XPACK and XRLE decoders cache expanded block pointers at indexes beyond the 512-element slice->block_by_id array. An array index partially controlled by data in the input file first causes an out-of-bounds read to determine whether a block is cached; a null value then causes allocation of a block and an out-of-bounds pointer write to the same element. The invalid read may crash the process, while the write may corrupt heap state and could permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
Affected Packages
htslib (CONDA):
Affected version(s) >=1.12 <1.24 || >=1.22 <1.24 || >=1.23 <1.24Fix Suggestion:
Update to version 1.24https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.23 <1.23.2Fix Suggestion:
Update to version 1.23.2https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.22 <1.22.3Fix Suggestion:
Update to version 1.22.3https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.12 <1.21.2Fix Suggestion:
Update to version 1.21.2Related Resources (12)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW