HTSlibのCRAM 4.0デコーダーに脆弱性、ヒープの範囲外読み書きでコード実行のおそれ
Summary
HTSlibのCRAM v4デコーダーに、ヒープの範囲外読み書きの脆弱性が見つかりました。入力ファイルのデータで配列の添字を操作されると、細工されたファイルの処理で任意のコードを実行されるおそれがあります。1.21.2、1.22.3、1.23.2、1.24で修正されているため、該当する版を使っている場合は修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
HTSlibのCRAM v4デコーダーに、ヒープの範囲外読み書きの脆弱性が見つかりました。入力ファイルのデータで配列の添字を操作されると、細工されたファイルの処理で任意のコードを実行されるおそれがあります。1.21.2、1.22.3、1.23.2、1.24で修正されているため、該当する版を使っている場合は修正版への更新を急いでください。
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-62257 htslib Fix available
- Ubuntu UBUNTU-CVE-2026-62257 htslib No fixed version in this record
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com
- web github.com
- web github.com