CVE-2016-5766
Last modified
CVE-2016-5766 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 7.56% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Redhat | Openshift | 2.0 |
| Freebsd | Freebsd | 8.3 |
| Redhat | Enterprise Linux | 6.0 |
| Freebsd | Freebsd | 8.0 |
| Redhat | Enterprise Linux | 5 |
| Libgd | Libgd | 2.2.2 |
| Freebsd | Freebsd | 10.0 |
| Fedoraproject | Fedora | 23 |
| Debian | Debian Linux | 8.0 |
| Freebsd | Freebsd | 10.1 |
| Fedoraproject | Fedora | 24 |
| Freebsd | Freebsd | 8.4 |
| Freebsd | Freebsd | 9.2 |
| Freebsd | Freebsd | 8.2 |
| Freebsd | Freebsd | 8.1 |
| Freebsd | Freebsd | 9.0 |
| Freebsd | Freebsd | 10.2 |
| Fedoraproject | Fedora | 22 |
| Freebsd | Freebsd | 9.3 |
| Redhat | Enterprise Linux | 7.0 |
| Freebsd | Freebsd | 10.3 |
| Freebsd | Freebsd | 9.1 |
References
- http://php.net/ChangeLog-5.phpRelease Notes
- http://php.net/ChangeLog-7.phpRelease Notes
- http://www.debian.org/security/2016/dsa-3619Third Party Advisory
- https://bugs.php.net/bug.php?id=72339Exploit, Patch, Vendor Advisory
- https://libgd.github.io/release-2.2.3.htmlRelease Notes
- http://php.net/ChangeLog-5.phpRelease Notes
- http://php.net/ChangeLog-7.phpRelease Notes
- http://www.debian.org/security/2016/dsa-3619Third Party Advisory
- https://bugs.php.net/bug.php?id=72339Exploit, Patch, Vendor Advisory
- https://libgd.github.io/release-2.2.3.htmlRelease Notes
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-5766?
How severe is CVE-2016-5766?
How do I fix CVE-2016-5766?
Are you affected by CVE-2016-5766?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
