Bug 2577017 (CVE-2026-62258) - CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffer overflow in CRAM decoder
Summary: CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffe...
Keywords:
Status: NEW
Alias: CVE-2026-62258
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: 2577851 2577852
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-19 16:03 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 16:03:51 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 CRAM decoder validates the 254-character query-name limit only after decoding the name into a 1024-byte stack array. An attacker-controlled CRAM record can provide an overlong query name and overflow the local stack buffer before the later validation runs; all CRAM format versions are affected. Opening such a file can crash the process, corrupt stack data, and may 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.