HTSlibにヒープ領域の範囲外書き込みの脆弱性、メモリ破損やプロセス停止のおそれ
Summary
HTSlibでFASTAのインデックス(.fai)を処理する際、ヒープ領域の範囲外に1バイト書き込まれる脆弱性が見つかりました。メモリが壊れてプロセスが停止するおそれがあり、CVSSv4は7.1です。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でFASTAのインデックス(.fai)を処理する際、ヒープ領域の範囲外に1バイト書き込まれる脆弱性が見つかりました。メモリが壊れてプロセスが停止するおそれがあり、CVSSv4は7.1です。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-62256 htslib Fix available
- Ubuntu UBUNTU-CVE-2026-62256 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, fai_retrieve does not verify that the line width recorded in a FASTA .fai index is greater than or equal to the number of bases per line. When the line width is exactly one less than the base count, retrieval allocates an undersized heap buffer and writes one byte beyond its end; larger discrepancies instead cause an allocation failure that is handled. This issue can corrupt heap memory and crash the process. 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