CVE-2016-5767
Summary
| CVE | CVE-2016-5767 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-08-07 10:59:14 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| Description | Integer overflow in the gdImageCreate function in gd.c in the GD Graphics Library (aka libgd) before 2.0.34RC1, 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 a crafted image dimensions. |
Risk And Classification
Primary CVSS: v3.0 8.8 HIGH from [email protected]
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Problem Types: CWE-190 | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
RequiredScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
MediumAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:M/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Libgd | Libgd | All | All | All | All |
| Application | Php | Php | 5.6.0 | alpha1 | All | All |
| Application | Php | Php | 5.6.0 | alpha2 | All | All |
| Application | Php | Php | 5.6.0 | alpha3 | All | All |
| Application | Php | Php | 5.6.0 | alpha4 | All | All |
| Application | Php | Php | 5.6.0 | alpha5 | All | All |
| Application | Php | Php | 5.6.0 | beta1 | All | All |
| Application | Php | Php | 5.6.0 | beta2 | All | All |
| Application | Php | Php | 5.6.0 | beta3 | All | All |
| Application | Php | Php | 5.6.0 | beta4 | All | All |
| Application | Php | Php | 5.6.1 | All | All | All |
| Application | Php | Php | 5.6.10 | All | All | All |
| Application | Php | Php | 5.6.11 | All | All | All |
| Application | Php | Php | 5.6.12 | All | All | All |
| Application | Php | Php | 5.6.13 | All | All | All |
| Application | Php | Php | 5.6.14 | All | All | All |
| Application | Php | Php | 5.6.15 | All | All | All |
| Application | Php | Php | 5.6.16 | All | All | All |
| Application | Php | Php | 5.6.17 | All | All | All |
| Application | Php | Php | 5.6.18 | All | All | All |
| Application | Php | Php | 5.6.19 | All | All | All |
| Application | Php | Php | 5.6.2 | All | All | All |
| Application | Php | Php | 5.6.20 | All | All | All |
| Application | Php | Php | 5.6.21 | All | All | All |
| Application | Php | Php | 5.6.22 | All | All | All |
| Application | Php | Php | 5.6.3 | All | All | All |
| Application | Php | Php | 5.6.4 | All | All | All |
| Application | Php | Php | 5.6.5 | All | All | All |
| Application | Php | Php | 5.6.6 | All | All | All |
| Application | Php | Php | 5.6.7 | All | All | All |
| Application | Php | Php | 5.6.8 | All | All | All |
| Application | Php | Php | 5.6.9 | All | All | All |
| Application | Php | Php | 7.0.0 | All | All | All |
| Application | Php | Php | 7.0.1 | All | All | All |
| Application | Php | Php | 7.0.2 | All | All | All |
| Application | Php | Php | 7.0.3 | All | All | All |
| Application | Php | Php | 7.0.4 | All | All | All |
| Application | Php | Php | 7.0.5 | All | All | All |
| Application | Php | Php | 7.0.6 | All | All | All |
| Application | Php | Php | 7.0.7 | All | All | All |
| Application | Php | Php | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| iFixed bug #72446 - Integer Overflow in gdImagePaletteToTrueColor() r… · php/php-src@c395c6e · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| Document Display | HPE Support Center | af854a3a-2127-422b-91ae-364da2661108 | h20566.www2.hpe.com | |
| PHP CVE-2016-5767 Integer Overflow Vulnerability | af854a3a-2127-422b-91ae-364da2661108 | www.securityfocus.com | |
| oss-security - Re: CVE for PHP 5.5.37 issues | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Release Notes |
| [security-announce] openSUSE-SU-2016:1761-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| [security-announce] SUSE-SU-2016:2013-1: important: Security update for | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| PHP: PHP 7 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes |
| PHP :: Sec Bug #72446 :: Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow | af854a3a-2127-422b-91ae-364da2661108 | bugs.php.net | |
| openSUSE-SU-2016:1922-1: moderate: Security update for php5 | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | |
| Red Hat Customer Portal | af854a3a-2127-422b-91ae-364da2661108 | rhn.redhat.com | |
| PHP: PHP 5 ChangeLog | af854a3a-2127-422b-91ae-364da2661108 | php.net | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.