CVE-2026-125245

published 9 Nov 2026 · updated 10 Nov 2026

FFmpeg through 9.0.2 Memory Leak in MJPEG Hwaccel SOF Decoding

4.7MediumCVSS 4.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

FFmpeg through 9.0.2 contains a memory leak vulnerability in ff_mjpeg_decode_sof() in libavcodec/mjpegdec.c, which overwrites the hwaccel_picture_private pointer without freeing it. Attackers can supply crafted MJPEG streams with repeated SOF markers or failing frames to leak hwaccel private data and hardware buffers under VAAPI or NVDEC decoding.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ffmpeg<=9.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-125245 severity on Zeptric[![CVE-2026-125245](https://zeptric.io/badge/cve/CVE-2026-125245.svg)](https://zeptric.io/cve/CVE-2026-125245)