CVE-2016-5766 Integer overflow in n/a
Remote attackers can cause a denial of service via crafted image dimensions in the GD Graphics Library, affecting applications like PHP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-5766?
CVE-2016-5766 is a high-severity vulnerability in Debian Debian Linux, published on 7 Aug 2016. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-190
Which versions are affected by CVE-2016-5766?
It affects 6 products.
Linux distribution packages (15)
gd Red Hat:enterprise_linux:7::client | All versions | 0:2.0.35-27.el7_9 |
gd-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.0.35-27.el7_9 |
gd-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.0.35-27.el7_9 |
gd-progs Red Hat:enterprise_linux:7::client | All versions | 0:2.0.35-27.el7_9 |
gd-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.0.35-27.el7_9 |
gd-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:2.0.35-27.el7_9 |
gd-progs Red Hat:enterprise_linux:7::computenode | All versions | 0:2.0.35-27.el7_9 |
gd Red Hat:enterprise_linux:7::server | All versions | 0:2.0.35-27.el7_9 |
gd-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.0.35-27.el7_9 |
gd-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.0.35-27.el7_9 |
gd-progs Red Hat:enterprise_linux:7::server | All versions | 0:2.0.35-27.el7_9 |
gd Red Hat:enterprise_linux:7::workstation | All versions | 0:2.0.35-27.el7_9 |
gd-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.0.35-27.el7_9 |
gd-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.0.35-27.el7_9 |
gd-progs Red Hat:enterprise_linux:7::workstation | All versions | 0:2.0.35-27.el7_9 |
Products include Debian Debian Linux, Fedoraproject Fedora, Freebsd Freebsd, Libgd Libgd, Redhat Enterprise Linux, Redhat Openshift.
How do I fix CVE-2016-5766?
Upgrade to a fixed version.
Is CVE-2016-5766 being exploited?
There is no known exploitation of CVE-2016-5766 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as ALPINE-CVE-2016-5766, DEBIAN-CVE-2016-5766, DLA-534-1, GHSA-54vf-4pr8-g7c8, RHSA-2020:5443, UBUNTU-CVE-2016-5766.