CVE-2016-5766

HIGH

GD Graphics Library <2.2.3 - DoS

Title source: llm
STIX 2.1

Description

Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x before 7.0.8, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via crafted chunk dimensions in an image.

References (15)

Core 15
Core References
Exploit, Patch, Vendor Advisory x_refsource_confirm
https://bugs.php.net/bug.php?id=72339
Release Notes x_refsource_confirm
https://libgd.github.io/release-2.2.3.html
Mailing List vendor-advisory x_refsource_suse
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2750.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2016-2598.html
Release Notes x_refsource_confirm
http://php.net/ChangeLog-5.php
Release Notes mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2016/06/23/4
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201612-09
Release Notes x_refsource_confirm
http://php.net/ChangeLog-7.php
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2016/dsa-3619
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-3030-1

Scores

CVSS v3 8.8
EPSS 0.1623
EPSS Percentile 94.9%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-190
Status published
Products (22)
debian/debian_linux 8.0
fedoraproject/fedora 23
fedoraproject/fedora 24
fedoraproject/fedora 22
freebsd/freebsd 8.3
freebsd/freebsd 8.0
freebsd/freebsd 10.0
freebsd/freebsd 10.1
freebsd/freebsd 8.4
freebsd/freebsd 9.2
... and 12 more
Published Aug 07, 2016
Tracked Since Feb 18, 2026