Bug 2577845

Summary: CVE-2026-62255 htslib: htslib: Memory corruption via malformed CRAM index file [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": ["121bc315-d797-4541-892c-7e9d6efd086b"]}
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: 2576988    

Description Vladimir Vasilev 2026-11-20 07:33:49 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, cram_index_load does not verify that the number of reference sequences in a CRAM .crai index does not exceed the CRAM header reference count. A malformed index can drive unbounded index-array allocation, and when the number of references in the index is within two of INT_MAX, the growth calculation can wrap, read beyond a heap buffer, and use the resulting value as a pointer for an unchecked memory write. Any region query can trigger the flaw, causing denial of service or memory corruption. 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:54 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:02 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.