llamaCVEVulnerability Intelligence
/
HTSlib

CVE-2026-62258

HTSlib stack buffer overflow in CRAM decoder

A crafted CRAM file can crash the process, corrupt stack memory, or possibly run arbitrary code when opened.

Texto original en inglés · Ver en español

UnclearParche disponiblestack buffer overflow
Descargar PNG JSON
CVSS 4.0
8.8
Alta
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versiones1.21.2 · 1.22.3 · 1.23.2
Exposición2 dDesde la divulgación, 19 nov 2026, 10:50 a. m.
Detección5 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Saqué la lupa: aquí hay algo que investigar.Programa la remediación y duerme tranquilo.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: NIST NVD
Verificada
10:50 a. m.
11:25 a. m.
03:29 p. m.
04:26 p. m.
02:08 p. m.
10:50 a. m.
11:39 p. m.
12:29 p. m.
01:18 a. m.
02:08 p. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-62258 divulgada · CVSS 8.8 (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 ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Verificada Última verificación contra las fuentes
Resumen

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, the CRAM decoder validates the 254-character query-name limit only after decoding the name into a 1024-byte stack array. An attacker-controlled CRAM record can provide an overlong query name and overflow the local stack buffer before the later validation runs; all CRAM format versions are affected. Opening such a file can crash the process, corrupt stack data, and may permit arbitrary code execution. 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 1.21.1, for all CRAM format versions. No vendor severity is given beyond the CVSS score of 8.8. Fixed in 1.21.2, 1.22.3, and 1.23.2.

¿Qué significa?The CRAM decoder in HTSlib can write past the end of a stack buffer. This can crash the program, overwrite data in unexpected ways, and may allow arbitrary code execution.
¿Quién está afectado?HTSlib 1.23.1 and earlier, 1.22.2, and 1.21.1 are affected, and the flaw applies to all CRAM format versions. To check a version, run samtools --version, which reports the HTSlib version it was built with.
¿Qué hacer?Upgrade to HTSlib 1.21.2 on the 1.21 line, 1.22.3 on the 1.22 line, or 1.23.2 on the 1.23 line.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affected HTSlib versions: 1.23.1 and earlier, 1.22.2, and 1.21.1“<= 1.23.1, 1.22.2 and 1.21.1”
02
Applies to all CRAM format versions“This affects all versions of the CRAM file format.”
¿Quién debe revisar?Teams running samtools or HTSlib 1.23.1 and earlier, 1.22.2, or 1.21.1 that open CRAM files from untrusted sources
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:N
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:L
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
htslib< 1.21.2
htslib≥ 1.22.0 < 1.22.3
htslib≥ 1.23.0 < 1.23.2
1.21.2
1.22.0
1.22.3
1.23.0
1.23.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
htslib
Corregida 1.21.2, 1.22.3, 1.23.2 — —
Versiones corregidas1.21.21.22.31.23.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/samtools/htslib/security/advisories/GHSA-2jx2-wm7f-rv9m
Otrahttps://github.com/samtools/htslib/pull/2046
Otrahttps://github.com/samtools/htslib/commit/25278797c251a9af789382ecf5aa0c86f417bdf5
Otrahttps://github.com/samtools/htslib/commit/df93e245f1b517aec86c69684fcb2faf5942c5c2
Otrahttps://github.com/samtools/htslib/commit/f1d1bf835aaafa1e511996dcd49760c36f683b17
Otrahttps://github.com/samtools/htslib/releases/tag/1.21.2
Otrahttps://github.com/samtools/htslib/releases/tag/1.22.3
Otrahttps://github.com/samtools/htslib/releases/tag/1.23.2
Otrahttps://github.com/samtools/htslib/releases/tag/1.24

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.