cvelo
P3 · MediumCVSS 4.7

FFmpeg through 9.0.2 Memory Leak in MJPEG Hwaccel SOF Decoding

  • CVE-2026-125245
  • GHSA-97hh-vm9v-mprx
  • EUVD-2026-120195

Description

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.

Text from the CVE.org record.

Affected

  • ffmpeg

    • up to 9.0.2

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.