#VU20920 Heap-based buffer overflow in GIFLIB - CVE-2016-3977


Vulnerability identifier: #VU20920

Vulnerability risk: High

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2016-3977

CWE-ID: CWE-122

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
GIFLIB
Client/Desktop applications / Multimedia software

Vendor: GIFLIB Project

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 gif2rgb() function (util/gif2rgb.c) in giflib 5.1.2. A remote attacker can use background color index in a GIF file to 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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

GIFLIB: 5.1.0 - 5.1.2


External links
https://bugs.fi/fuzzing/index.html
https://lists.opensuse.org/opensuse-updates/2016-04/msg00079.html
https://lists.opensuse.org/opensuse-updates/2016-04/msg00084.html
https://lists.opensuse.org/opensuse-updates/2016-05/msg00019.html
https://www.securityfocus.com/bid/88103
https://bugzilla.redhat.com/show_bug.cgi?id=1325771
https://sourceforge.net/p/giflib/bugs/87/
https://sourceforge.net/p/giflib/code/ci/ea8dbc5786862a3e16a5acfa3d24e2c2f608cd88/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability