Out-of-bounds read in FFmpeg - CVE-2016-7502
Published: December 23, 2016 / Updated: July 28, 2020
Vulnerability identifier: #VU32148
CSH Severity: Low
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-7502
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local non-authenticated attacker to execute arbitrary code.
The cavs_idct8_add_c function in libavcodec/cavsdsp.c in FFmpeg before 3.1.4 is vulnerable to reading out-of-bounds memory when decoding with cavs_decode.
Affected software
FFmpeg
Gentoo Linux
ffmpeg (Alpine package)
Gentoo Linux
ffmpeg (Alpine package)
How to mitigate CVE-2016-7502
Install update from vendor's website.
FFmpeg - update to 3.1.4
ffmpeg (Alpine package) - update to 2.8.11-r0
ffmpeg (Alpine package) - update to 2.8.11-r0