CVE-2026-62255
HTSlib heap write overflow in CRAM index handling
A remote attacker can crash programs or corrupt memory using a malformed CRAI index file during a user's region query.
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-62255 divulgada · CVSS 7.1 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación PoC pública | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
HTSlib, a library for reading and writing bioinformatics file formats, has a heap write overflow in its CRAM index handling. A remote attacker without a login can trigger it by supplying a malformed .crai index file, but a user must perform a region query for the flaw to fire, which can cause denial of service or memory corruption.
Affects HTSlib 1.23.1 or earlier, 1.22.2 or earlier, and 1.21.1 or earlier when a malformed CRAI index file is loaded for a CRAM file. Fixed in 1.21.2, 1.22.3, and 1.23.2.
Descripción original del registro (GitHub_M)
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, cram_index_load does not verify that the number of reference sequences in a CRAM .crai index does not exceed the CRAM header reference count. A malformed index can drive unbounded index-array allocation, and when the number of references in the index is within two of INT_MAX, the growth calculation can wrap, read beyond a heap buffer, and use the resulting value as a pointer for an unchecked memory write. Any region query can trigger the flaw, causing denial of service or memory corruption. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.
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-28r7-prwc-hf5chttps://github.com/samtools/htslib/pull/2029https://github.com/samtools/htslib/commit/08fbbceefdfac073e768c1fce593181ca7379222https://github.com/samtools/htslib/commit/57e1a0763c9a5f34a1d1ab9deb3a3ad2bd8fe11dhttps://github.com/samtools/htslib/commit/8a2394e63c9bdd758cc6a7de04c5e2ee7acc8e65https://github.com/samtools/htslib/commit/924e21755d0b5db7a33f1920d20c0e441667d22fhttps://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.
