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 h...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:16.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:18.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:20.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTShtslib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10htslib |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTShtslib |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report github.com
- report hackmd.io
- report nvd.nist.gov
- report vulncheck.com