CVE-2026-116742 HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count
설명
HTSlib through 1.24 contains a heap out-of-bounds write and read vulnerability in bgzf_index_load_hfile() in bgzf.c that allows attackers to corrupt heap memory by supplying a crafted .gzi index entry count. A count of 0xFFFFFFFF truncates noffs to zero, causing writes past a malloc(0) buffer and an offs[-1] read in bgzf_useek(), resulting in heap corruption or crashes in tools like samtools and bcftools.
영향 받는 제품 제품 1개
-
samtools
htslib
영향 받는 버전
- 1.24 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 7건
- github.com https://github.com/samtools/htslib (새 창)
- github.com https://github.com/samtools/htslib/blob/1.24/bgzf.c#L2504 (새 창)
- github.com https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873 (새 창)
- github.com https://github.com/samtools/htslib/issues/2113 (새 창)
- github.com https://github.com/samtools/htslib/pull/2057 (새 창)
- hackmd.io https://hackmd.io/@haindpwn/htslib-bgzf-gzi-int-truncation-oob (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/htslib-through-1.24-heap-out-of-bounds-write-via-truncated-gzi-index-count (새 창)