HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| samtools | htslib | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Htslib | Htslib |
|
||||||||
| Samtools | Htslib |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.123% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Samtools
Samtools htslib |
|
| Vendors & Products |
Samtools
Samtools htslib |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count | |
| First Time appeared |
Htslib
Htslib htslib |
|
| Weaknesses | CWE-197 | |
| CPEs | cpe:2.3:a:htslib:htslib:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Htslib
Htslib htslib |
|
| References |
|
|
| Metrics |
cvssV3_1
|