HTSlibにヒープ書き込みの脆弱性、細工したCRAMインデックスで遠隔から攻撃される恐れ
Summary
HTSlibのCRAMインデックス読み込み処理に、ヒープ領域への書き込みを許す脆弱性が見つかりました。細工されたインデックスを読み込むと、サービス妨害やメモリの破損が起きるおそれがあります。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インデックス読み込み処理に、ヒープ領域への書き込みを許す脆弱性が見つかりました。細工されたインデックスを読み込むと、サービス妨害やメモリの破損が起きるおそれがあります。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-62255 htslib Fix available
- Ubuntu UBUNTU-CVE-2026-62255 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, 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.
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