CVE-2026-125250Ffmpeg
High 8.5
Follow: this CVE · Ffmpeg · Ffmpeg We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 4.0
- 8.5
- EPSS
- —
- Auth required
- Yes
- Published
- Nov 9, 2026
- Updated
- Nov 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-122
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Ffmpeg.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ffmpeg | ffmpeg | ≤ 9.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- code.ffmpeg.org Issue Tracking Patch
- github.com Product
- github.com Patch
- github.com Patch
- www.vulncheck.com Third Party Advisory