#VU32246 Input validation error in libgd


Published: 2016-08-07 | Updated: 2020-07-28

Vulnerability identifier: #VU32246

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

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
http://lists.opensuse.org/opensuse-updates/2016-08/msg00086.html
http://lists.opensuse.org/opensuse-updates/2016-09/msg00078.html
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.debian.org/security/2016/dsa-3619
http://www.openwall.com/lists/oss-security/2016/06/30/1
http://www.securityfocus.com/bid/91509
http://www.securitytracker.com/id/1036276
http://www.ubuntu.com/usn/USN-3030-1
http://bugs.php.net/72494
http://github.com/libgd/libgd/commit/1ccfe21e14c4d18336f9da8515cd17db88c3de61
http://github.com/libgd/libgd/commit/6ff72ae40c7c20ece939afb362d98cc37f4a1c96
http://libgd.github.io/release-2.2.3.html
http://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