Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
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.24
Fix Suggestion:
Update to version 1.24
https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.23 <1.23.2
Fix Suggestion:
Update to version 1.23.2
https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.22 <1.22.3
Fix Suggestion:
Update to version 1.22.3
https://github.com/samtools/htslib.git (GITHUB):
Affected version(s) >=1.12 <1.21.2
Fix Suggestion:
Update to version 1.21.2
Do you need more information?
Contact Us
CVSS 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
Weakness Type (CWE)
Heap-based Buffer Overflow
Out-of-bounds Write
Out-of-bounds Read