CVE-2015-8877
Fixed in a distro release EPSS 4%
The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function.
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | libgd2 | 2.2.1-1 |
| Debian 13 | libgd2 | 2.2.1-1 |
| Debian 14 | libgd2 | 2.2.1-1 |
| Debian 8 | libgd2 | 2.1.0-5+deb8u3 |
| Red Hat rhel software collections 2 | rh-php56 | 0:2.3-1.el6 |
| Red Hat rhel software collections 2 | rh-php56 | 0:2.3-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-bcmath | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-bcmath | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-cli | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-cli | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-common | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-common | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-dba | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-dba | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-dbg | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-dbg | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-debuginfo | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-debuginfo | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-devel | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-devel | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-embedded | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-embedded | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-enchant | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-enchant | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-fpm | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-fpm | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-gd | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-gd | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-gmp | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-gmp | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-imap | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-intl | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-intl | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-ldap | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-ldap | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-mbstring | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-mbstring | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-mysqlnd | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-mysqlnd | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-odbc | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-odbc | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-opcache | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-opcache | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-pdo | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-pdo | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-pear | 1:1.9.5-4.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-pear | 1:1.9.5-4.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-pgsql | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-pgsql | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-process | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-process | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-pspell | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-pspell | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-recode | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-recode | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-snmp | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-snmp | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-soap | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-soap | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-tidy | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-xml | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-xml | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-php-xmlrpc | 0:5.6.25-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-php-xmlrpc | 0:5.6.25-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-runtime | 0:2.3-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-runtime | 0:2.3-1.el7 |
| Red Hat rhel software collections 2 | rh-php56-scldevel | 0:2.3-1.el6 |
| Red Hat rhel software collections 2 | rh-php56-scldevel | 0:2.3-1.el7 |
| SUSE Linux Enterprise Desktop 12 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Desktop 12 SP1 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Module for Web and Scripting 12 | php5 | 5.5.14-64.5 |
| SUSE Linux Enterprise Software Development Kit 12 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Software Development Kit 12 | php5 | 5.5.14-64.5 |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Software Development Kit 12 SP1 | php5 | 5.5.14-64.5 |
| SUSE Linux Enterprise Workstation Extension 12 | imap | 2007e_suse-19.1 |
| SUSE Linux Enterprise Workstation Extension 12 SP1 | imap | 2007e_suse-19.1 |
| Ubuntu 14.04 LTS | libgd2 | 2.1.0-3ubuntu0.1 |
| Ubuntu 16.04 LTS | libgd2 | 2.1.1-4ubuntu0.16.04.1 |