llamaCVEVulnerability Intelligence
/
libheif

CVE-2026-120208

libheif 1.18.0 before 1.23.3 Heap Buffer Overflow via unci Mixed-Interleave Decoder

Specific setups onlyParche disponibleheap buffer overflow
Descargar PNG JSON
CVSS 4.0
7.7
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión1.23.3
Exposición19 dDesde la divulgación, 31 oct 2026, 12:25 p. m.
Detección5 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. 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 +1
Fuente: OSV +1
Verificada
31 oct 26
2 nov 26
16 nov 26
19 nov 26
31 oct 26
5 nov 26
10 nov 26
15 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-120208 divulgada · CVSS 7.7 (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 Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

libheif, an open-source library for decoding HEIF image files, is affected by a heap buffer overflow in its decoder for certain compressed image data. A specially crafted image file with mismatched chroma bit depths can cause memory to be written beyond its intended bounds, which could potentially allow an attacker to run arbitrary code in applications that process such images.

Only libheif 1.18.0 through 1.23.2 built with WITH_UNCOMPRESSED_CODEC=ON is in scope, and only for the unci mixed-interleave path. Fixed in 1.23.3.

¿Qué significa?Decoding a crafted HEIF file can trigger a heap out-of-bounds write in libheif's built-in unci decoder. The bug occurs when paired Cb and Cr components are declared at different bit depths, and the write can corrupt adjacent heap data. The advisory reports file disclosure and code execution on one specific deployment only.
¿Quién está afectado?Versions 1.18.0 through 1.23.2 are in scope, and the advisory's reproduction is on 1.23.2. The library must be built with WITH_UNCOMPRESSED_CODEC=ON, and the file must use the unci mixed-interleave YCbCr path with Cb and Cr at different bit depths. To check a build, confirm the libheif version and whether that build option was enabled when it was compiled.
¿Qué hacer?Upgrade libheif to 1.23.3, which is the fixed version and is described as a security and bugfix release.
Descripción original del registro (VulnCheck)

libheif 1.18.0 before 1.23.3 contains a heap-based buffer overflow vulnerability in unc_decoder_mixed_interleave::processTile() that allows attackers to write out of bounds by supplying chroma components with unequal bit depths. Attackers can craft a HEIF file declaring, for example, 16-bit Cb and 8-bit Cr to trigger file-controlled heap writes past the Cr plane, potentially achieving code execution in image-processing pipelines.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
libheif must be built with WITH_UNCOMPRESSED_CODEC=ON“It does require libheif to be built with”
02
Affects libheif 1.18.0 through 1.23.2 (the advisory's reproduction is on 1.23.2)“libheif 1.23.2 contains a heap buffer overflow in its built-in ISO/IEC”
03
File uses the unci mixed-interleave YCbCr path with Cb and Cr declared at different bit depths“the decoder permits paired Cb and Cr components to have different bit”
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:P
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:P
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
libheif≥ 1.18.0 < 1.23.3
1.18.0
1.23.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
libheif
Corregida 1.23.3 — —
Versiones corregidas1.23.3
Explotación

Arsenal público

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

Referencias
Fabricantehttps://github.com/strukturag/libheif/security/advisories/GHSA-x8r2-mggj-j6wr
Parchehttps://github.com/strukturag/libheif/commit/9d3cd91d7b1c8c68deef6d06057ab956bcb0dfb9
Otrahttps://github.com/strukturag/libheif/releases/tag/v1.23.3
Otrahttps://github.com/strukturag/libheif/blob/v1.23.2/libheif/codecs/uncompressed/unc_decoder_mixed_interleave.cc#L95
Otrahttps://www.vulncheck.com/advisories/libheif-1.18.0-before-1.23.3-heap-buffer-overflow-via-unci-mixed-interleave-decoder

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