Bug 2577852

Summary: CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffer overflow in CRAM decoder [epel-9]
Product: [Fedora] Fedora EPEL Reporter: Vladimir Vasilev <vvasilev>
Component: htslibAssignee: Rasmus Ory Nielsen <ron>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: epel9CC: jaruga, jmarshall, ron
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["8ed2b8b4-4259-4778-8b46-f66a9312ad2f"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2577017    

Description Vladimir Vasilev 2026-11-20 07:34:26 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Update System 2026-11-20 23:24:45 UTC
FEDORA-EPEL-2026-ca181f42ab (bcftools-1.25-1.el9, htslib-1.25-1.el9, and 1 more) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ca181f42ab

Comment 2 Fedora Update System 2026-11-21 02:02:29 UTC
FEDORA-EPEL-2026-ca181f42ab has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2026-ca181f42ab

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.