Buffer overflow in FFmpeg - CVE-2014-8541

 

Buffer overflow in FFmpeg - CVE-2014-8541

Published: December 3, 2016 / Updated: June 8, 2025


Vulnerability identifier: #VU110602
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2014-8541
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: ffmpeg.sourceforge.net
Affected software:
FFmpeg

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

libavcodec/mjpegdec.c in FFmpeg before 2.4.2 considers only dimension differences, and not bits-per-pixel differences, when determining whether an image size has changed, which allows remote attackers to cause a denial of service (out-of-bounds access) or possibly have unspecified other impact via crafted MJPEG data.


How to mitigate CVE-2014-8541

Install update from vendor's website.

Sources