CVE-2026-125250
HIGH 7.8
Summary
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.
Key facts
- Vendor: ffmpeg
- CVSS 3.1: 7.8 (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
- EPSS (30-day exploitation probability): 0.18%
- Published: 2026-11-09
- Last modified: 2026-11-30
- Weakness: CWE-122
Data aggregated from NVD, CISA KEV, FIRST EPSS and OSV.dev. Updated 2026-12-02.
Get alerts and watchlists for vulnerabilities like this · Browse all vulnerabilities