[ CVE-2026-125250 · Published 9 Nov 2026 ]

Vulnerability in FFmpeg

CVSS 7.8 1 agency advisory Vendor advisory

[ Description ]Official description

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.

[ Fixes ]How to fix it

Vendor advisories and patches

[ Advisories ]Government CERT advisories

  • BSI CERT-BundWID-SEC-2026-4419

    ffmpeg: Multiple vulnerabilities Translated from German

    Risk mediumCVE-2026-125069CVE-2026-125102CVE-2026-125250+118 more CVEs