CVE-2026-62256
HTSlib heap buffer overflow in FASTA index retrieval
A crafted FASTA index file can corrupt heap memory and crash a program that retrieves sequences with it.
Texto original en inglés · Ver en español
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-62256 divulgada · CVSS 7.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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, fai_retrieve does not verify that the line width recorded in a FASTA .fai index is greater than or equal to the number of bases per line. When the line width is exactly one less than the base count, retrieval allocates an undersized heap buffer and writes one byte beyond its end; larger discrepancies instead cause an allocation failure that is handled. This issue can corrupt heap memory and crash the process. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
Affects HTSlib 1.23.1 and earlier, 1.22.2 and earlier, and 1.21.1 and earlier when reading FASTA .fai indexes whose recorded line width is off by one from the bases per line. Fixed in 1.21.2, 1.22.3, and 1.23.2.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
htslib |
Corregida | 1.21.2, 1.22.3, 1.23.2 | — | — |
1.21.21.22.31.23.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/samtools/htslib/security/advisories/GHSA-4hjq-r829-8c8vhttps://github.com/samtools/htslib/pull/2008https://github.com/samtools/htslib/commit/4af640f9ffd7f1fac95a739df7f560e3e5557960https://github.com/samtools/htslib/commit/504fb841b70afb948f58089c3a4337ce875c1e52https://github.com/samtools/htslib/commit/567fd43c6ef938de53c98217f99336e3ce5a60abhttps://github.com/samtools/htslib/commit/cdf22929aad8dde719c1b2070ad565ac9dd76c02https://github.com/samtools/htslib/releases/tag/1.21.2https://github.com/samtools/htslib/releases/tag/1.22.3https://github.com/samtools/htslib/releases/tag/1.23.2https://github.com/samtools/htslib/releases/tag/1.24Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
