UBUNTU-CVE-2026-125250: Buffer Overflow

Published Nov 10, 2026
·
Updated

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

Affected Software

7 affected components
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*
ubuntu/ffmpeg*

Event History

Nov 10, 2026
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems that use the affected FFmpeg package to transcode attacker-supplied PAL8 video into GIF are exposed. The vulnerable code is in FFmpeg's GIF encoder.

2

What does an attacker need to exploit it?

An attacker needs to provide PAL8 video with a frame linesize that increases during the stream and have it processed through GIF transcoding. The supplied vector indicates no privileges are required, but user interaction is required.

3

What is the potential impact of successful exploitation?

The overflow can corrupt the heap during GIF transcoding. The provided severity vector rates confidentiality, integrity, and availability impact as high.

4

How can I determine whether my workflow is affected?

Review whether your FFmpeg deployment performs GIF output encoding on untrusted or externally supplied PAL8 video. The issue applies to FFmpeg through version 9.0.2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203