CVE-2026-125245
JSON

5.7medium

FFmpeg through 9.0.2 Memory Leak in MJPEG Hwaccel SOF Decoding

Severity
5.7medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
FFmpeg FFmpegup to 9.0.2CVE List, NVD

All scores

VulnCheck5.7medium CVSS:4.0CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
VulnCheck4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H

Classification

CWE-401

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-125245 changed 2026-11-09CVE Terms of Use
NVDCVE-2026-125245 changed 2026-11-30Public domain