Bug 2576987 (CVE-2026-62257) - CVE-2026-62257 htslib: htslib: arbitrary code execution via out-of-bounds write in CRAM decoder
Summary: CVE-2026-62257 htslib: htslib: arbitrary code execution via out-of-bounds wri...
Keywords:
Status: NEW
Alias: CVE-2026-62257
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2577849 2577850
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 15:51 UTC by OSIDB Bzimport
Modified: 2026-11-20 07:34 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-19 15:51:21 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.