Memory Leak Vulnerability in FFmpeg Affects Media Decoding
CVE-2026-125245
5.7MEDIUM
What is CVE-2026-125245?
FFmpeg versions up to 9.0.2 are impacted by a memory leak stemming from the ff_mjpeg_decode_sof() function in libavcodec/mjpegdec.c. This vulnerability occurs when malicious users send specially crafted MJPEG streams containing repeated Start of Frame (SOF) markers or corrupted frames. As a result, the hwaccel_picture_private pointer is overwritten without appropriate memory deallocation, leading to potential leaking of sensitive hardware-accelerated buffers and private data utilized in VAAPI or NVDEC decoding processes.
Affected Version(s)
FFmpeg 0 <= 9.0.2
References
CVSS V4
Score:
5.7
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Joshua Rogers (AISLE Research)
Lynne
