Heap-based buffer overflow in GIFLIB



| Updated: 2019-09-06
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2016-3977
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
GIFLIB
Client/Desktop applications / Multimedia software

Vendor GIFLIB Project

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU20920

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 - Heap-based Buffer Overflow

Exploit availability: No

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

CPE2.3 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.



###SIDEBAR###