CVE-2016-5766 DetailsDescription 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.
Metrics CVSS Version 4.0 CVSS Version 3.x CVSS Version 2.0 SSVC
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration Affected Products Product Versions redhat openshift 2.0
CPE cpe:2.3:o:redhat:openshift:2.0:*:enterprise:*:*:*:*:* Remediation No remediation found in references. freebsd freebsd 8.3
8.0
10.0
10.1
8.4
9.2
8.2
8.1
9.0
10.2
9.3
10.3
9.1
Viewing 5 of 13 versions. View all CPE cpe:2.3:o:freebsd:freebsd:8.3:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:8.0:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:10.0:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:10.1:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:8.4:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:9.2:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:8.2:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:8.1:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:9.0:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:10.2:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:9.3:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:* cpe:2.3:o:freebsd:freebsd:9.1:*:*:*:*:*:*:* Remediation No remediation found in references. redhat enterprise linux 6.0
5
7.0
CPE cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:5:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Remediation No remediation found in references. libgd libgd 2.2.2
CPE cpe:2.3:a:libgd:libgd:2.2.2:*:*:*:*:*:*:* Remediation No remediation found in references. php php <= 5.5.36
5.6.0 alpha1
5.6.0 alpha2
5.6.0 alpha3
5.6.0 alpha4
5.6.0 alpha5
5.6.0 beta1
5.6.0 beta2
5.6.0 beta3
5.6.0 beta4
5.6.1
5.6.2
5.6.3
5.6.4
5.6.5
5.6.6
5.6.7
5.6.8
5.6.9
5.6.10
5.6.11
5.6.12
5.6.13
5.6.14
5.6.15
5.6.16
5.6.17
5.6.18
5.6.19
5.6.20
5.6.21
5.6.22
7.0.0
7.0.1
7.0.2
7.0.3
7.0.4
7.0.5
7.0.6
7.0.7
Viewing 5 of 40 versions. View all CPE cpe:2.3:a:php:php:*:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.17:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.18:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.19:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.20:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.21:*:*:*:*:*:*:* cpe:2.3:a:php:php:5.6.22:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:* cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:* Remediation No remediation found in references. fedoraproject fedora 23
24
22
CPE cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* Remediation No remediation found in references. debian debian linux 8.0
CPE cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Remediation No remediation found in references.
Change History 14 change records found show changes
Date Action Recorded By Jun 17, 2026 CVE Modified [email protected] May 6, 2026 Status Change [email protected] Nov 21, 2024 CVE Modified CVE May 14, 2024 CVE Modified [email protected] Apr 22, 2019 CPE Deprecation Remap [email protected] Jan 5, 2018 CVE Modified [email protected] Jul 1, 2017 CVE Modified [email protected] Feb 19, 2017 CVE Modified [email protected] Nov 28, 2016 CVE Modified [email protected] Aug 24, 2016 CVE Modified [email protected] Aug 22, 2016 Modified Analysis [email protected] Aug 13, 2016 CVE Modified [email protected] Aug 10, 2016 Modified Analysis [email protected] Aug 9, 2016 Initial Analysis [email protected]