CVE Catalog

CVE-2026-125245

MediumCVSS 4.7
Published: Updated: Translated: NVD NIST

Summary

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.

Risk Assessment

Repeated processing of crafted streams can exhaust memory and hardware buffers, causing crashes or degradation of video decoding services. This may affect the stability of media processing systems.

Recommendation

Update FFmpeg to a patched version. Monitor memory usage of hardware-accelerated video decoding processes.

Other vulnerabilities in FFmpeg

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS