CVE-2026-125245

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductFFmpeg
PublishedNov 9, 2026
First seenNov 9, 2026
Weakness typeCWE-401CWE-401

How to fix

Affected products

ProductAffected versionsFixed in
FFmpeg FFmpegv ≤ 9.0.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-125245 · FFmpeg · Vulnerabilities · Dark Radar