Shellfeed logo Shellfeed

CVE-2026-125250 · UNKNOWN

Summary: FFmpeg through 9.0.2 GIF Encoder Heap Buffer Overflow via shrunk_buf Remap

EPSS: 0.1% probability of exploitation in the next 30 days (percentile 3.8).

Details

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.

Severity

UNKNOWN — vector 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

Affected packages

  • GIT github.com/ffmpeg/ffmpeg [0 – 26c2980980295e5516f308c5a2792d2a72e43eae]

References

Posts about CVE-2026-125250