Bug 2577851 - CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffer overflow in CRAM decoder [fedora-44]
Summary: CVE-2026-62258 htslib: htslib: Arbitrary code execution via stack-based buffe...
Keywords:
Status: ON_QA
Alias: None
Product: Fedora
Classification: Fedora
Component: htslib
Version: 44
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Jun Aruga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["8ed2b8b4-4259-4778-8b46-f...
Depends On:
Blocks: CVE-2026-62258
TreeView+ depends on / blocked
 
Reported: 2026-11-20 07:34 UTC by Vladimir Vasilev
Modified: 2026-11-21 02:34 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.