CVE-2026-125250: FFmpeg · Heap-based Buffer Overflow
Affects FFmpegSource CVE Database V5
Not known to be exploited · CVSS 8.5 High · fixed in 9.0.2 : patch FFmpeg soon.
Data as of 9 Nov 2026, 19:32 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
- Patch
- Available – fixed in 9.0.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FFmpegFFmpeg | Affected
| Fixed in– |
GitHubFFmpegpkg:github/FFmpegOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in versions after 9.0.2. Users should upgrade to a version later than 9.0.2 where this heap buffer overflow has been addressed. Until patched, avoid processing untrusted PAL8 video streams with FFmpeg's GIF encoder to mitigate risk.
Description
CVE-2026-125250 is a heap-based buffer overflow vulnerability in FFmpeg versions up to 9.0.2. It occurs in the GIF encoder's gif_image_write_image() function due to incorrect sizing of an internal buffer based on the first frame's linesize. Attackers can exploit this by providing PAL8 video with a frame linesize that increases mid-stream, leading to out-of-bounds writes and heap corruption during GIF transcoding.
References
- code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25690 (opens in a new tab)
- github.com/FFmpeg/FFmpeg/commit/26c2980980295e5516f308c5a2792d2a72e43eae (opens in a new tab)
- github.com/FFmpeg/FFmpeg/blob/n9.0.2/libavcodec/gif.c (opens in a new tab)
- github.com/FFmpeg/FFmpeg (opens in a new tab)
- vulncheck.com/advisories/ffmpeg-through-9.0.2-gif-encoder-heap-buffer-overflow-via-shrunk-buf-remap (opens in a new tab)