CVE-2015-8877
publishedgd: gdImageScaleTwoPass function in gd_interpolation.c uses inconsistent allocate and free approaches
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | jessie | libgd2 | Advisory build | 2.1.0-5+deb8u3 | DSA-3587-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56src | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| SUSE / openSUSE | SLE-12 | apache2-mod_php5ppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56x86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-imapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-tidyx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-6 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el6 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56src | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56x86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpsrc | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-phpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-bcmathx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-clix86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-commonx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbax86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-dbgx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-debuginfox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-develx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-embeddedx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-enchantx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-fpmx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gdx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-gmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-intlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-ldapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mbstringx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-mysqlndx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-odbcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-opcachex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pdox86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearnoarch | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pearsrc | Advisory build | 1:1.9.5-4.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pgsqlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-processx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-pspellx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-recodex86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-snmpx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-soapx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-php-xmlrpcx86_64 | Advisory build | 5.6.25-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-runtimex86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| Red Hat Enterprise Linux | RHEL-7 | rh-php56-scldevelx86_64 | Advisory build | 2.3-1.el7 | RHSA-2016:2750 |
| SUSE / openSUSE | SLE-12 | apache2-mod_php5s390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | apache2-mod_php5x86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | imap-develppc64le | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | imap-devels390x | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | imap-develx86_64 | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | libc-client2007e_suseppc64le | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | libc-client2007e_suses390x | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | libc-client2007e_susex86_64 | Advisory build | 2007e_suse-19.1 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5ppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5s390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5x86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bcmathppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bcmaths390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bcmathx86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bz2ppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bz2s390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-bz2x86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-calendarppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-calendars390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-calendarx86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-ctypeppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-ctypes390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-ctypex86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-curlppc64le | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-curls390x | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
| SUSE / openSUSE | SLE-12 | php5-curlx86_64 | Advisory build | 5.5.14-64.5 | SUSE-SU-2016:1633-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- RHSA-2016:2750 http://rhn.redhat.com/errata/RHSA-2016-2750.html
- DSA-3587 http://www.debian.org/security/2016/dsa-3587
- http://www.php.net/ChangeLog-5.php
- USN-2987-1 http://www.ubuntu.com/usn/USN-2987-1
- https://bugs.php.net/bug.php?id=70064
- https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24
- https://github.com/libgd/libgd/issues/173
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9a0ffa3e946b095f5203141804adb5743ba42873a2bad124a6dbb4964d466ee0
- Ingested
- 23 Sep 2026, 07:40:54 UTC
- Source record
- Official CVE record