Home / Redhat / Openshift / CVE-2016-5766
CVE-2016-5766: is it exploited, and which versions of Redhat Openshift are affected and fixed?
CVE-2016-5766 is an integer overflow vulnerability in Redhat Openshift. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: openshift 2.0, freebsd 8.3, enterprise linux 6.0 and 19 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:45 UTC.
What is CVE-2016-5766?
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.
From the CVE record by mitre, last updated August 6, 2024, 01:15 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| redhat | openshift | 2.0 | operating system |
| freebsd | freebsd | 8.3 | operating system |
| redhat | enterprise linux | 6.0 | operating system |
| freebsd | freebsd | 8.0 | operating system |
| redhat | enterprise linux | 5 | operating system |
| libgd | libgd | 2.2.2 | application |
| freebsd | freebsd | 10.0 | operating system |
| fedoraproject | fedora | 23 | operating system |
| debian | debian linux | 8.0 | operating system |
| freebsd | freebsd | 10.1 | operating system |
| fedoraproject | fedora | 24 | operating system |
| freebsd | freebsd | 8.4 | operating system |
| freebsd | freebsd | 9.2 | operating system |
| freebsd | freebsd | 8.2 | operating system |
| freebsd | freebsd | 8.1 | operating system |
| freebsd | freebsd | 9.0 | operating system |
| freebsd | freebsd | 10.2 | operating system |
| fedoraproject | fedora | 22 | operating system |
| freebsd | freebsd | 9.3 | operating system |
| redhat | enterprise linux | 7.0 | operating system |
| freebsd | freebsd | 10.3 | operating system |
| freebsd | freebsd | 9.1 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 00:50 UTC.
How severe is CVE-2016-5766?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2016-5766 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 7.50% probability of exploitation activity in the next 30 days, percentile 94.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-190 Integer Overflow or Wraparound
Where are the vendor advisories and references?
- https://bugs.php.net/bug.php?id=72339 x_refsource_CONFIRM
- https://libgd.github.io/release-2.2.3.html x_refsource_CONFIRM
- openSUSE-SU-2016:1761 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2016:1922 vendor-advisory, x_refsource_SUSE
- RHSA-2016:2750 vendor-advisory, x_refsource_REDHAT
- RHSA-2016:2598 vendor-advisory, x_refsource_REDHAT
- http://php.net/ChangeLog-5.php x_refsource_CONFIRM
- http://github.com/php/php-src/commit/7722455726bec8c53458a32851d2a87982cf0eac?w=1 x_refsource_CONFIRM
- [oss-security] 20160623 Re: CVE for PHP 5.5.37 issues mailing-list, x_refsource_MLIST
- GLSA-201612-09 vendor-advisory, x_refsource_GENTOO
- http://php.net/ChangeLog-7.php x_refsource_CONFIRM
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731 x_refsource_CONFIRM
- DSA-3619 vendor-advisory, x_refsource_DEBIAN
- SUSE-SU-2016:2013 vendor-advisory, x_refsource_SUSE
- USN-3030-1 vendor-advisory, x_refsource_UBUNTU
When was it published, and where is the official record?
- Reserved
- June 23, 2016
- Published
- August 7, 2016, 10:00 UTC
- CVE record updated
- August 6, 2024, 01:15 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 00:50 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:45 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Openshift?
- Nov 25, 2015CVE-2015-5317 Jenkins: information disclosure exploited
- Feb 19, 2020CVE-2012-6685 Nokogiri: XML entity expansion (billion laughs)
- Dec 20, 2019CVE-2016-1000229 Smartbear Swagger-ui: cross-site scripting (XSS)
- Dec 11, 2019CVE-2013-7370 Redhat Openshift: cross-site scripting (XSS)
- Nov 5, 2019CVE-2013-5123 Pypa Pip: authentication bypass (improper authentication)
- Feb 11, 2019CVE-2019-5736 Docker: OS command injection
- Jan 8, 2018CVE-2013-4364 Redhat Openshift: link following (a symlink lets an attacker reach other files)
- Sep 25, 2017CVE-2015-0238 Redhat Openshift: information disclosure
Questions about CVE-2016-5766
Is CVE-2016-5766 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 7.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Redhat Openshift are affected by CVE-2016-5766?
openshift 2.0, freebsd 8.3, enterprise linux 6.0, freebsd 8.0, enterprise linux 5, libgd 2.2.2 and 16 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2016-5766?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2016-5766?
High (8.8, CVSS 3.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2016-5766?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.