llamaCVEVulnerability Intelligence
/
FFmpeg

CVE-2026-125250

FFmpeg heap buffer overflow in GIF encoder

A local attacker can corrupt heap memory by tricking a user into converting a crafted video to GIF.

Specific setups onlySin parche publicadoheap buffer overflow
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ón8 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
Fuente: ENISA EUVD +1
Verificada
9 nov 26
10 nov 26
13 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-125250 divulgada · CVSS 8.5 (CNA)
Monitoreo Detectada Ingresó al índice
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
Resumen generado por IA · CC-BY 4.0 · 9 nov 2026

FFmpeg versions up to and including 9.0.2 have a heap buffer overflow in the GIF encoder that a local attacker can trigger without logging in, though it requires a user to take an action such as transcoding a crafted video to GIF. Successful exploitation can corrupt heap memory, with potential impact on confidentiality, integrity, and availability.

¿Qué significa?The GIF encoder in FFmpeg has a heap buffer overflow: when PAL8 video's frame linesize grows partway through a stream, the remap step writes past the shrunk buffer and corrupts the heap during GIF encoding or transcoding.
¿Quién está afectado?FFmpeg through 9.0.2 is affected, and the bug needs PAL8 input whose frame linesize grows mid-stream during GIF encoding or transcoding. To check your FFmpeg version, run ffmpeg -version and compare it with 9.0.2.
¿Qué hacer?The facts name no fixed version, so no upgrade target is given. The fix is the patch identified as AISLE-2026-0150-00715, which changes the remap to use a buffer with the context width as stride.
Descripción original del registro (VulnCheck)

FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder's gif_image_write_image() in libavcodec/gif.c because shrunk_buf is sized from the first frame's linesize. Attackers can supply PAL8 video whose frame linesize grows mid-stream, causing remap_frame_to_palette() to write past shrunk_buf and corrupt the heap during GIF transcoding.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Affects FFmpeg through 9.0.2.“FFmpeg through 9.0.2 contains a heap buffer overflow in the GIF encoder”
02
Input is PAL8 video whose frame linesize grows mid-stream, during GIF encoding or transcoding.“Attackers can supply PAL8 video whose frame linesize grows mid-stream”
¿Quién debe revisar?Teams running FFmpeg 9.0.2 or earlier that encode or transcode GIF from PAL8 video, including services that accept user-supplied 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/26c2980980295e5516f308c5a2792d2a72e43eae
Análisishttps://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690
Otrahttps://github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/gif.c#L405
Otrahttps://github.com/FFmpeg/FFmpeg
Otrahttps://www.vulncheck.com/advisories/ffmpeg-through-9.0.2-gif-encoder-heap-buffer-overflow-via-shrunk-buf-remap

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