CVE-2026-125245
FFmpeg through 9.0.2 Memory Leak in MJPEG Hwaccel SOF Decoding
- Severity
- medium CVSS 5.7 (v4.0)
- Affects
- FFmpeg
- Weakness
- CWE-401: Missing Release of Memory after Effective Lifetime
- Published
- 9 November 2026 by VulnCheck
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.