CVE-2026-125245: FFmpeg through 9.0.2 Memory Leak in MJPEG Hwaccel SOF Decoding
FFmpeg through 9.0.2 contains a memory leak vulnerability in ffmjpegdecodesof() in libavcodec/mjpegdec.c, which overwrites the hwaccelpictureprivate 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.