Stack-based buffer overflow in FFmpeg - CVE-2017-9990

 

Stack-based buffer overflow in FFmpeg - CVE-2017-9990

Published: July 5, 2017 / Updated: June 8, 2025


Vulnerability identifier: #VU110560
CSH Severity: High
CVSS v4.0:
CVE-ID: CVE-2017-9990
CWE-ID: CWE-121
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 color_string_to_rgba function in libavcodec/xpmdec.c when processing a crafted file. A remote unauthenticated attacker can trigger stack-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-9990

Install update from vendor's website.

Sources