Bug 2570659 (CVE-2026-125250) - CVE-2026-125250 ffmpeg: ffmpeg: Arbitrary code execution via heap-based buffer overflow in GIF encoder
Summary: CVE-2026-125250 ffmpeg: ffmpeg: Arbitrary code execution via heap-based buffe...
Keywords:
Status: NEW
Alias: CVE-2026-125250
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-10 20:13 UTC by OSIDB Bzimport
Modified: 2026-11-10 23:23 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-10 20:13:52 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.