Buffer overflow in FFmpeg - CVE-2016-2330

 

Buffer overflow in FFmpeg - CVE-2016-2330

Published: February 12, 2016 / Updated: July 28, 2020


Vulnerability identifier: #VU32159
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-2330
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

libavcodec/gif.c in FFmpeg before 2.8.6 does not properly calculate a buffer size, which allows remote attackers to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact via a crafted .tga file, related to the gif_image_write_image, gif_encode_init, and gif_encode_close functions.


Affected software

FFmpeg
Gentoo Linux
ffmpeg (Alpine package)
media-video/ffmpeg

How to mitigate CVE-2016-2330

Install update from vendor's website.

FFmpeg - update to 2.8.6
ffmpeg (Alpine package) - update to 2.8.11-r0
media-video/ffmpeg - update to 2.8.6

External References

Related Security Bulletins