National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2016-5766 Detail

Current 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.

Source:  MITRE
View Analysis Description

Evaluator Description

CWE-122

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 8.8 HIGH
Vector:  CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1 Exploit Patch
http://lists.opensuse.org/opensuse-security-announce/2016-07/msg00004.html
http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00025.html
http://lists.opensuse.org/opensuse-updates/2016-08/msg00003.html
http://php.net/ChangeLog-5.php Release Notes
http://php.net/ChangeLog-7.php Release Notes
http://rhn.redhat.com/errata/RHSA-2016-2598.html
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://www.debian.org/security/2016/dsa-3619 Third Party Advisory
http://www.openwall.com/lists/oss-security/2016/06/23/4 Release Notes
http://www.ubuntu.com/usn/USN-3030-1
https://bugs.php.net/bug.php?id=72339 Exploit Patch Vendor Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731
https://libgd.github.io/release-2.2.3.html Release Notes
https://security.gentoo.org/glsa/201612-09

Weakness Enumeration

CWE-ID CWE Name Source
CWE-190 Integer Overflow or Wraparound NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 3 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 4 ( hide )
 cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 5 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 6 ( hide )
 cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
Running on/with
 cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
5.5.36
 cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 7 ( hide )
 cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 8 ( hide )
 cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 9 ( hide )
 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 10 ( hide )
 cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 11 ( hide )
 cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 12 ( hide )
 cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 13 ( hide )
 cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 14 ( hide )
 cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 15 ( hide )
 cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 16 ( hide )
 cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 17 ( hide )
 cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 18 ( hide )
 cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 19 ( hide )
 cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 20 ( hide )
 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 21 ( hide )
 cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 22 ( hide )
 cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

10 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2016-5766
NVD Published Date:
08/07/2016
NVD Last Modified:
04/22/2019