#VU32246 Input validation error in libgd - CVE-2016-6128


| Updated: 2020-07-28

Vulnerability identifier: #VU32246

Vulnerability risk: Medium

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

CVE-ID: CVE-2016-6128

CWE-ID: CWE-20

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 non-authenticated attacker to perform a denial of service (DoS) attack.

The gdImageCropThreshold function in gd_crop.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 7.0.9, allows remote attackers to cause a denial of service (application crash) via an invalid color index.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libgd: 2.2.0 - 2.2.2


External links
https://lists.opensuse.org/opensuse-updates/2016-08/msg00086.html
https://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
https://rhn.redhat.com/errata/RHSA-2016-2750.html
https://www.debian.org/security/2016/dsa-3619
https://www.openwall.com/lists/oss-security/2016/06/30/1
https://www.securityfocus.com/bid/91509
https://www.securitytracker.com/id/1036276
https://www.ubuntu.com/usn/USN-3030-1
https://bugs.php.net/72494
https://github.com/libgd/libgd/commit/1ccfe21e14c4d18336f9da8515cd17db88c3de61
https://github.com/libgd/libgd/commit/6ff72ae40c7c20ece939afb362d98cc37f4a1c96
https://libgd.github.io/release-2.2.3.html
https://security.gentoo.org/glsa/201612-09


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