Bug 2577851

Summary: CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffer overflow 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": ["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:21 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:15:02 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:09 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.