CVE-2016-8670
Fixed in a distro release EPSS 5%
Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have unspecified other impact via a crafted imagecreatefromstring call.
Products: libgd
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Arch Linux | php | 7.0.13-1 |
| Debian 12 | libgd2 | 2.2.3-87-gd0fec80-1 |
| Debian 13 | libgd2 | 2.2.3-87-gd0fec80-1 |
| Debian 14 | libgd2 | 2.2.3-87-gd0fec80-1 |
| Debian 7 | libgd2 | 2.0.36~rc1~dfsg-6.1+deb7u6 |
| Debian 8 | libgd2 | 2.1.0-5+deb8u7 |
| SUSE Linux Enterprise Desktop 12 SP1 | gd | 2.1.0-17.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | php5 | 5.5.14-83.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | php7 | 7.0.7-20.1 |
| SUSE Linux Enterprise Server 11 SP4 | gd | 2.0.36.RC1-52.25.1 |
| SUSE Linux Enterprise Server 11 SP4 | php53 | 5.3.17-87.1 |
| SUSE Linux Enterprise Server 12 SP1 | gd | 2.1.0-17.1 |
| SUSE Linux Enterprise Server for SAP Applications 11 SP4 | gd | 2.0.36.RC1-52.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 11 SP4 | php53 | 5.3.17-87.1 |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | gd | 2.1.0-17.1 |
| SUSE Linux Enterprise Software Development Kit 11 SP4 | gd | 2.0.36.RC1-52.25.1 |
| SUSE Linux Enterprise Software Development Kit 11 SP4 | php53 | 5.3.17-87.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | gd | 2.1.0-17.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | php5 | 5.5.14-83.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | php7 | 7.0.7-20.1 |
| SUSE Linux Enterprise Workstation Extension 12 SP1 | gd | 2.1.0-17.1 |
| Ubuntu 14.04 LTS | libgd2 | 2.1.0-3ubuntu0.5 |
| Ubuntu 16.04 LTS | libgd2 | 2.1.1-4ubuntu0.16.04.5 |