Heap-based buffer overflow in FFmpeg - CVE-2017-7859

 

Heap-based buffer overflow in FFmpeg - CVE-2017-7859

Published: April 20, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110562
CSH Severity: High
CVSS v4.0:
CVE-ID: CVE-2017-7859
CWE-ID: CWE-122
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 attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the libavcodec/h264dec.c. A remote attacker can create a specially crafted file, trick the victim into opening it, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2017-7859

Install update from vendor's website.

Sources