Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
8.4

CVE-2026-125208: FFmpeg video encoding may overwrite memory

CVE-2026-125208 · published 17 days ago
Summary

The FFmpeg program (versions up to 9.0.2) can write data beyond the space it has reserved when converting certain video files for hardware encoding. A specially crafted video could cause the program to corrupt memory, potentially leading to crashes or unauthorized actions. Update FFmpeg to a version that includes the fix or apply the vendor’s recommended patch.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
Ecosystem VendorProductAffected versions
– ffmpeg ffmpeg <= 9.0.2
Ubuntu:Pro:16.04:LTS canonical ffmpeg All versions
Debian:12 debian ffmpeg All versions
Original advisory text
FFmpeg through 9.0.2 V4L2 M2M Encoder Out-of-Bounds Write in v4l2_buffers.c
FFmpeg through 9.0.2 contains an out-of-bounds write vulnerability in v4l2_buffer_swframe_to_buf() in libavcodec/v4l2_buffers.c because cumulative plane offsets are not checked against the V4L2 buffer length. Attackers can supply crafted video whose dimensions or padding cause unsigned wraparound in v4l2_bufref_to_buf(), making memcpy() write past the mmaped driver buffer during V4L2 M2M encoding.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
8.4 High
Exploitation
<1% chance of attack within 30 days
Type
CWE-787Out-of-bounds Write
Timeline
Published9 Nov 2026
Updated26 Nov 2026
First seen9 Nov 2026
Track software like this
Free during beta