Bug 2577849

Summary: CVE-2026-62257 htslib: htslib: arbitrary code execution via out-of-bounds write in CRAM decoder [fedora-44]
Product: [Fedora] Fedora Reporter: Vladimir Vasilev <vvasilev>
Component: htslibAssignee: Jun Aruga <jaruga>
Status: ON_QA --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 44CC: jaruga, jmarshall, ron
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["6cfc44b3-2b4e-4de3-a4d2-9532071e96b3"]}
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: 2576987    

Description Vladimir Vasilev 2026-11-20 07:34:11 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 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.

Comment 1 Fedora Update System 2026-11-20 23:14:59 UTC
FEDORA-2026-c92f720d38 (bcftools-1.25-1.fc44, htslib-1.25-1.fc44, and 1 more) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-c92f720d38

Comment 2 Fedora Update System 2026-11-21 02:34:06 UTC
FEDORA-2026-c92f720d38 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-c92f720d38`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-c92f720d38

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