llamaCVEVulnerability Intelligence
/
FFmpeg

CVE-2026-125229

FFmpeg out-of-bounds write in Huffyuv/FFVHUFF median predictor

An attacker can use a tiny video frame to write out of bounds and crash the encoder during Huffyuv transcoding.

Specific setups onlySin parche publicadoout-of-bounds write
Descargar PNG JSON
CVSS 4.0
8.5
Alta
CVSS:4.0/AV:L/AC:L/AT:N/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
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición9 dDesde la divulgación, 9 nov 2026, 2:11 p. m.
Detección4 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. No hay versión corregida: aplique mitigaciones.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +1
Fuente: ENISA EUVD +1
Verificada
9 nov 26
10 nov 26
14 nov 26
16 nov 26
19 nov 26
9 nov 26
12 nov 26
14 nov 26
17 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-125229 divulgada · CVSS 8.5 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
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

FFmpeg through 9.0.2 contains an out-of-bounds memory access vulnerability in the encode_frame() function of libavcodec/huffyuvenc.c, because encode_init() never validates minimum frame dimensions for the median predictor. Attackers can supply a tiny video, such as a 2-pixel-wide or 1-2-pixel-tall frame, that causes negative sub_median_pred lengths and out-of-bounds reads and writes when transcoded to huffyuv or ffvhuff, crashing the encoder.

Affects FFmpeg through 9.0.2 when encoding with the huffyuv or ffvhuff encoder using the median predictor on very small frames. No fixed version is named; the fix is patch 45f98d0.

¿Qué significa?When transcoded to huffyuv or ffvhuff, very small frames can cause out-of-bounds memory reads and writes that crash the FFmpeg encoder. The median predictor does not validate minimum frame dimensions, so frames such as 2 pixels wide or 1-2 pixels tall trigger the problem.
¿Quién está afectado?Versions from the start through FFmpeg 9.0.2 are listed as affected. The setup involves encoding with the huffyuv or ffvhuff encoder with the median predictor in use, on very small input frames. To check, run ffmpeg -version to see your version and review the encoder named in your transcode command.
¿Qué hacer?No fixed version is listed for this vulnerability. The vendor's fix is patch 45f98d0, titled "avcodec/huffyuvenc: reject frames too small for the median predictor".
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Encoding with the huffyuv or ffvhuff encoder“when transcoded to huffyuv or ffvhuff”
02
Median predictor in use, with frame dimensions that are not validated“never validates minimum frame dimensions for the median predictor”
03
Very small input frame, about 2 pixels wide or 1-2 pixels tall“such as a 2-pixel-wide or 1-2-pixel-tall frame”
¿Quién debe revisar?Teams running FFmpeg 9.0.2 or earlier that encode to huffyuv or ffvhuff, including services that transcode untrusted video.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:N
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
FFmpeg≤ 9.0.2
9.0.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
FFmpeg
Sin parche — — —
Explotación

Arsenal público

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

Referencias
Parchehttps://github.com/FFmpeg/FFmpeg/commit/45f98d0819efe2b7ce93e9034b7e6a4ed6700621
Análisishttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25573
Otrahttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/huffyuvenc.c#L762
Otrahttps://github.com/FFmpeg/FFmpeg
Otrahttps://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-out-of-bounds-memory-access-in-huffyuv-ffvhuff-median-predictor

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