Skip to content
High 8.8

HTSlibに細工されたCRAMファイルで、スタック領域があふれ任意のコードを実行される脆弱性

CVE-2026-62258 First seen on SecPulse

Summary

HTSlibのCRAMデコーダーには、クエリ名の長さの検証が固定長バッファへの書き込み後に行われるため、スタックがあふれる脆弱性があります。細工された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デコーダーには、クエリ名の長さの検証が固定長バッファへの書き込み後に行われるため、スタックがあふれる脆弱性があります。細工された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.

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 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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details