- Accueil
- Vulnérabilités
- CVE-2026-116742
CVE-2026-116742
HTSlib through 1.24 Heap Out-of-Bounds Write via Truncated .gzi Index Count
Faible
19/100
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Samtools (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| htslib | jusqu’à 1.24 (inclus) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/samtools/htslib/pull/2057issue-tracking, patch
- https://github.com/samtools/htslib/commit/18dddf02bb2c0053b32acec427723555a24b2873patch
- https://github.com/samtools/htslibproduct
- https://github.com/samtools/htslib/blob/1.24/bgzf.c#L2504technical-description
- https://hackmd.io/@haindpwn/htslib-bgzf-gzi-int-truncation-oobthird-party-advisory
- https://github.com/samtools/htslib/issues/2113issue-tracking
- https://www.vulncheck.com/advisories/htslib-through-1.24-heap-out-of-bounds-write-via-truncated-gzi-index-countthird-party-advisory
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L(CVSS 3.1, NVD)- Faiblesse
- CWE-197 · Autre (CWE-197)