llamaCVEVulnerability Intelligence
/
HTSlib

CVE-2026-63390

HTSlib heap buffer overflow in BCF reader

A remote attacker can send a crafted BCF file to crash the process, corrupt data, or possibly run arbitrary code.

UnclearParche disponibleheap 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ón1 dDesde la divulgación, 19 nov 2026, 10:37 a. m.
Detección7 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.
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:37 a. m.
11:25 a. m.
03:29 p. m.
02:38 a. m.
10:37 a. m.
08:37 p. m.
06:37 a. m.
04:38 p. m.
02:38 a. m.
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-63390 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
Resumen generado por IA · CC-BY 4.0 · 19 nov 2026

HTSlib, a library for reading bioinformatics file formats, has a heap buffer overflow in its BCF reader caused by an integer overflow in a record-length check. An attacker can exploit it remotely, without logging in, by supplying a crafted BCF file that, when opened, can crash the process, corrupt data, or potentially allow arbitrary code execution.

HTSlib 1.21.1 and earlier, 1.22.2, and 1.23.1 are affected when a crafted BCF file is opened. Fixed in 1.21.2, 1.22.3, and 1.23.2.

¿Qué significa?A crafted BCF file can trigger a heap buffer overflow in HTSlib's BCF reader because input is not properly validated. The overflow can crash the program, overwrite data and heap structures, and possibly allow arbitrary code execution.
¿Quién está afectado?The advisory lists HTSlib 1.21.1 and earlier, 1.22.2, and 1.23.1 as affected. The issue arises when a BCF file is opened, so check which HTSlib version your tools are built with, such as the version output of an HTSlib-based tool like htsfile.
¿Qué hacer?Upgrade to HTSlib 1.21.2, 1.22.3, or 1.23.2, depending on your release line.
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, the BCF reader can experience an integer overflow in a record-length check that verifies whether a record contains enough bytes for the expected number and size of stored items. A crafted BCF record can bypass this check, causing reads beyond the stored data and, in some cases, writes beyond the heap buffer when the reader sets the least significant bit of accessed bytes. Opening such a file can crash the process, corrupt data or heap structures, and may permit arbitrary code execution. This issue is fixed in versions 1.21.2, 1.22.3, 1.23.2, and 1.24.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
HTSlib versions 1.21.1 and earlier, 1.22.2, and 1.23.1 (the advisory lists these as affected)“<= 1.21.1, 1.22.2, 1.23.1”
02
The victim opens a crafted BCF file“If a user opens a file crafted to exploit this issue”
¿Quién debe revisar?Teams running HTSlib 1.21.1 or earlier, 1.22.2, or 1.23.1, including samtools builds that use them, that open BCF files
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-2wm6-8hgm-7g92
Otrahttps://github.com/samtools/htslib/pull/2047
Otrahttps://github.com/samtools/htslib/commit/00a30cdb8db1f5832eb58a799383a462c6b58cb3
Otrahttps://github.com/samtools/htslib/commit/2713f39242f4afff5382aad5c1ba02abe12950cd
Otrahttps://github.com/samtools/htslib/commit/3a3585dc844f7caad266bbec8d91e45c09c1dcd4
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.