#VU33067 Stack-based buffer overflow in libgd - CVE-2016-5116


| Updated: 2020-08-03

Vulnerability identifier: #VU33067

Vulnerability risk: High

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

CVE-ID: CVE-2016-5116

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libgd
Universal components / Libraries / Libraries used by multiple products

Vendor: GD Software

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error when processing a long name. 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.

Mitigation
Update to version 2.2.0.

Vulnerable software versions

libgd: 2.0.0 - 2.1.1


External links
https://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
https://www.debian.org/security/2016/dsa-3619
https://www.openwall.com/lists/oss-security/2016/05/29/5
https://www.ubuntu.com/usn/USN-3030-1
https://github.com/libgd/libgd/commit/4dc1a2d7931017d3625f2d7cff70a17ce58b53b4
https://github.com/libgd/libgd/issues/211


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