CVE-2015-4116
php: Use-after-free vulnerability in the spl_ptr_heap_insert function
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Red Hat (low), Ubuntu (low).
Description
Use-after-free vulnerability in the spl_ptr_heap_insert function in ext/spl/spl_heap.c in PHP before 5.5.27 and 5.6.x before 5.6.11 allows remote attackers to execute arbitrary code by triggering a failed SplMinHeap::compare operation.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| debian 8 | php5 | 5.6.12+dfsg-0+deb8u1 |
| Red Hat | php, php-bcmath, php-cli and 106 more | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.24 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.19 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.19 |
Show all 113 entries from 5 sources
| Source | Package | Fixed in |
|---|---|---|
| debian 8 | php5 | 5.6.12+dfsg-0+deb8u1 |
| Red Hat | php | no fix listed |
| Red Hat | php-bcmath | no fix listed |
| Red Hat | php-cli | no fix listed |
| Red Hat | php-common | no fix listed |
| Red Hat | php-dba | no fix listed |
| Red Hat | php-devel | no fix listed |
| Red Hat | php-embedded | no fix listed |
| Red Hat | php-enchant | no fix listed |
| Red Hat | php-fpm | no fix listed |
| Red Hat | php-gd | no fix listed |
| Red Hat | php-imap | no fix listed |
| Red Hat | php-intl | no fix listed |
| Red Hat | php-ldap | no fix listed |
| Red Hat | php-mbstring | no fix listed |
| Red Hat | php-mysql | no fix listed |
| Red Hat | php-mysqlnd | no fix listed |
| Red Hat | php-odbc | no fix listed |
| Red Hat | php-pdo | no fix listed |
| Red Hat | php-pgsql | no fix listed |
| Red Hat | php-process | no fix listed |
| Red Hat | php-pspell | no fix listed |
| Red Hat | php-recode | no fix listed |
| Red Hat | php-snmp | no fix listed |
| Red Hat | php-soap | no fix listed |
| Red Hat | php-tidy | no fix listed |
| Red Hat | php-xml | no fix listed |
| Red Hat | php-xmlrpc | no fix listed |
| Red Hat | php-zts | no fix listed |
| Red Hat | php54-php | no fix listed |
| Red Hat | php54-php-bcmath | no fix listed |
| Red Hat | php54-php-cli | no fix listed |
| Red Hat | php54-php-common | no fix listed |
| Red Hat | php54-php-dba | no fix listed |
| Red Hat | php54-php-devel | no fix listed |
| Red Hat | php54-php-enchant | no fix listed |
| Red Hat | php54-php-fpm | no fix listed |
| Red Hat | php54-php-gd | no fix listed |
| Red Hat | php54-php-imap | no fix listed |
| Red Hat | php54-php-intl | no fix listed |
| Red Hat | php54-php-ldap | no fix listed |
| Red Hat | php54-php-mbstring | no fix listed |
| Red Hat | php54-php-mysqlnd | no fix listed |
| Red Hat | php54-php-odbc | no fix listed |
| Red Hat | php54-php-pdo | no fix listed |
| Red Hat | php54-php-pgsql | no fix listed |
| Red Hat | php54-php-process | no fix listed |
| Red Hat | php54-php-pspell | no fix listed |
| Red Hat | php54-php-recode | no fix listed |
| Red Hat | php54-php-snmp | no fix listed |
| Red Hat | php54-php-soap | no fix listed |
| Red Hat | php54-php-tidy | no fix listed |
| Red Hat | php54-php-xml | no fix listed |
| Red Hat | php54-php-xmlrpc | no fix listed |
| Red Hat | php55-php | no fix listed |
| Red Hat | php55-php-bcmath | no fix listed |
| Red Hat | php55-php-cli | no fix listed |
| Red Hat | php55-php-common | no fix listed |
| Red Hat | php55-php-dba | no fix listed |
| Red Hat | php55-php-devel | no fix listed |
| Red Hat | php55-php-enchant | no fix listed |
| Red Hat | php55-php-fpm | no fix listed |
| Red Hat | php55-php-gd | no fix listed |
| Red Hat | php55-php-gmp | no fix listed |
| Red Hat | php55-php-imap | no fix listed |
| Red Hat | php55-php-intl | no fix listed |
| Red Hat | php55-php-ldap | no fix listed |
| Red Hat | php55-php-mbstring | no fix listed |
| Red Hat | php55-php-mysqlnd | no fix listed |
| Red Hat | php55-php-odbc | no fix listed |
| Red Hat | php55-php-opcache | no fix listed |
| Red Hat | php55-php-pdo | no fix listed |
| Red Hat | php55-php-pgsql | no fix listed |
| Red Hat | php55-php-process | no fix listed |
| Red Hat | php55-php-pspell | no fix listed |
| Red Hat | php55-php-recode | no fix listed |
| Red Hat | php55-php-snmp | no fix listed |
| Red Hat | php55-php-soap | no fix listed |
| Red Hat | php55-php-tidy | no fix listed |
| Red Hat | php55-php-xml | no fix listed |
| Red Hat | php55-php-xmlrpc | no fix listed |
| Red Hat | rh-php56-php | no fix listed |
| Red Hat | rh-php56-php-bcmath | no fix listed |
| Red Hat | rh-php56-php-cli | no fix listed |
| Red Hat | rh-php56-php-common | no fix listed |
| Red Hat | rh-php56-php-dba | no fix listed |
| Red Hat | rh-php56-php-dbg | no fix listed |
| Red Hat | rh-php56-php-devel | no fix listed |
| Red Hat | rh-php56-php-embedded | no fix listed |
| Red Hat | rh-php56-php-enchant | no fix listed |
| Red Hat | rh-php56-php-fpm | no fix listed |
| Red Hat | rh-php56-php-gd | no fix listed |
| Red Hat | rh-php56-php-gmp | no fix listed |
| Red Hat | rh-php56-php-imap | no fix listed |
| Red Hat | rh-php56-php-intl | no fix listed |
| Red Hat | rh-php56-php-ldap | no fix listed |
| Red Hat | rh-php56-php-mbstring | no fix listed |
| Red Hat | rh-php56-php-mysqlnd | no fix listed |
| Red Hat | rh-php56-php-odbc | no fix listed |
| Red Hat | rh-php56-php-opcache | no fix listed |
| Red Hat | rh-php56-php-pdo | no fix listed |
| Red Hat | rh-php56-php-pgsql | no fix listed |
| Red Hat | rh-php56-php-process | no fix listed |
| Red Hat | rh-php56-php-pspell | no fix listed |
| Red Hat | rh-php56-php-recode | no fix listed |
| Red Hat | rh-php56-php-snmp | no fix listed |
| Red Hat | rh-php56-php-soap | no fix listed |
| Red Hat | rh-php56-php-tidy | no fix listed |
| Red Hat | rh-php56-php-xml | no fix listed |
| Red Hat | rh-php56-php-xmlrpc | no fix listed |
| ubuntu 12.04 | php5 | 5.3.10-1ubuntu3.24 |
| ubuntu 14.04 | php5 | 5.5.9+dfsg-1ubuntu4.19 |
| ubuntu 14.04-ESM | php5 | 5.5.9+dfsg-1ubuntu4.19 |
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=1cbd25ca15383394ffa9ee8601c5de4c0f2f90e1
- http://lists.opensuse.org/opensuse-updates/2016-06/msg00027.html
- http://php.net/ChangeLog-5.php
- https://access.redhat.com/security/cve/CVE-2015-4116
- https://bugs.php.net/bug.php?id=69737
- https://nvd.nist.gov/vuln/detail/CVE-2015-4116
- https://ubuntu.com/security/notices/USN-3045-1
- https://www.cve.org/CVERecord?id=CVE-2015-4116