CVE-2026-125250 FFmpeg - Buffer Overflow

FFmpeg <= 9.0.2 contains a heap buffer overflow caused by incorrect sizing of shrunk_buf in gif_image_write_image() in libavcodec/gif.c, letting attackers corrupt heap during GIF transcoding with PAL8 video whose frame linesize grows mid-stream.

CVSS base score 7.8 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Not required
EPSS
0.14% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Buffer Overflow
Impact
Remote Code Execution, Denial Of Service
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
9 November 2026
Updated
11 November 2026
Weakness
CWE-122

Vendor fix

Update to a version later than 9.0.2 or the latest available version.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs