- Issued:
- 2016-11-03
- Updated:
- 2016-11-03
RHSA-2016:2598 - Moderate: php security and bug fix update
Synopsis
Moderate: php security and bug fix update
Type/Severity
Security Advisory Moderate
Topic
An update for php is now available for Red Hat Enterprise Linux 7.
Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Description
PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.
Security Fix(es):
-
A flaw was found in the way certain error conditions were handled by bzread() function in PHP. An attacker could use this flaw to upload a specially crafted bz2 archive which, when parsed via the vulnerable function, could cause the application to crash or execute arbitrary code with the permissions of the user running the PHP application. (CVE-2016-5399)
-
An integer overflow flaw, leading to a heap-based buffer overflow was found in the imagecreatefromgd2() function of PHP's gd extension. A remote attacker could use this flaw to crash a PHP application or execute arbitrary code with the privileges of the user running that PHP application using gd via a specially crafted GD2 image. (CVE-2016-5766)
-
An integer overflow flaw, leading to a heap-based buffer overflow was found in the gdImagePaletteToTrueColor() function of PHP's gd extension. A remote attacker could use this flaw to crash a PHP application or execute arbitrary code with the privileges of the user running that PHP application using gd via a specially crafted image buffer. (CVE-2016-5767)
-
A double free flaw was found in the mb_ereg_replace_callback() function of php which is used to perform regex search. This flaw could possibly cause a PHP application to crash. (CVE-2016-5768)
Red Hat would like to thank Hans Jerry Illikainen for reporting CVE-2016-5399.
Additional Changes:
For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.3 Release Notes linked from the References section.
Solution
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
After installing the updated packages, the httpd daemon must be restarted for the update to take effect.
Affected Products
| Product | Version | Arch |
|---|---|---|
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.7 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Update Services for SAP Solutions | 7.3 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.7 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.6 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.5 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.4 | x86_64 |
| Red Hat Enterprise Linux for x86_64 - Extended Update Support | 7.3 | x86_64 |
| Red Hat Enterprise Linux for Scientific Computing | 7 | x86_64 |
| Red Hat Enterprise Linux for Power, little endian | 7 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.7 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.6 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.5 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.4 | ppc64le |
| Red Hat Enterprise Linux for Power, little endian - Extended Update Support | 7.3 | ppc64le |
| Red Hat Enterprise Linux for Power, big endian | 7 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.7 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.6 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.5 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.4 | ppc64 |
| Red Hat Enterprise Linux for Power, big endian - Extended Update Support | 7.3 | ppc64 |
| Red Hat Enterprise Linux for IBM z Systems | 7 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.7 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.6 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.5 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.4 | s390x |
| Red Hat Enterprise Linux for IBM z Systems - Extended Update Support | 7.3 | s390x |
| Red Hat Enterprise Linux Workstation | 7 | x86_64 |
| Red Hat Enterprise Linux Server | 7 | x86_64 |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.7 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.6 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.4 | ppc64le |
| Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions | 7.3 | ppc64le |
| Red Hat Enterprise Linux Server - TUS | 7.7 | x86_64 |
| Red Hat Enterprise Linux Server - TUS | 7.6 | x86_64 |
| Red Hat Enterprise Linux Server - TUS | 7.3 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support | 7 | x86_64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian | 7 | ppc64le |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian | 7 | ppc64 |
| Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) | 7 | s390x |
| Red Hat Enterprise Linux Server - AUS | 7.7 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 7.6 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 7.4 | x86_64 |
| Red Hat Enterprise Linux Server - AUS | 7.3 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.7 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.6 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.5 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.4 | x86_64 |
| Red Hat Enterprise Linux EUS Compute Node | 7.3 | x86_64 |
| Red Hat Enterprise Linux Desktop | 7 | x86_64 |
Updated Packages
- php-gd-5.4.16-42.el7.ppc64le.rpm
- php-5.4.16-42.el7.ppc64le.rpm
- php-common-5.4.16-42.el7.aarch64.rpm
- php-pgsql-5.4.16-42.el7.ppc64le.rpm
- php-mysql-5.4.16-42.el7.ppc64le.rpm
- php-soap-5.4.16-42.el7.ppc64.rpm
- php-enchant-5.4.16-42.el7.ppc64le.rpm
- php-process-5.4.16-42.el7.ppc64.rpm
- php-5.4.16-42.el7.src.rpm
- php-xmlrpc-5.4.16-42.el7.ppc64.rpm
- php-mysqlnd-5.4.16-42.el7.aarch64.rpm
- php-soap-5.4.16-42.el7.x86_64.rpm
- php-debuginfo-5.4.16-42.el7.ppc64.rpm
- php-fpm-5.4.16-42.el7.s390x.rpm
- php-dba-5.4.16-42.el7.ppc64le.rpm
- php-recode-5.4.16-42.el7.x86_64.rpm
- php-mysql-5.4.16-42.el7.aarch64.rpm
- php-pgsql-5.4.16-42.el7.x86_64.rpm
- php-pdo-5.4.16-42.el7.ppc64.rpm
- php-embedded-5.4.16-42.el7.ppc64le.rpm
- php-intl-5.4.16-42.el7.x86_64.rpm
- php-soap-5.4.16-42.el7.s390x.rpm
- php-mysqlnd-5.4.16-42.el7.ppc64le.rpm
- php-pdo-5.4.16-42.el7.x86_64.rpm
- php-cli-5.4.16-42.el7.aarch64.rpm
- php-gd-5.4.16-42.el7.aarch64.rpm
- php-odbc-5.4.16-42.el7.s390x.rpm
- php-fpm-5.4.16-42.el7.ppc64.rpm
- php-mysql-5.4.16-42.el7.x86_64.rpm
- php-enchant-5.4.16-42.el7.ppc64.rpm
- php-pdo-5.4.16-42.el7.s390x.rpm
- php-enchant-5.4.16-42.el7.x86_64.rpm
- php-common-5.4.16-42.el7.s390x.rpm
- php-ldap-5.4.16-42.el7.aarch64.rpm
- php-gd-5.4.16-42.el7.ppc64.rpm
- php-common-5.4.16-42.el7.ppc64.rpm
- php-odbc-5.4.16-42.el7.ppc64le.rpm
- php-mbstring-5.4.16-42.el7.s390x.rpm
- php-5.4.16-42.el7.x86_64.rpm
- php-cli-5.4.16-42.el7.ppc64le.rpm
- php-ldap-5.4.16-42.el7.ppc64le.rpm
- php-odbc-5.4.16-42.el7.ppc64.rpm
- php-intl-5.4.16-42.el7.s390x.rpm
- php-pdo-5.4.16-42.el7.aarch64.rpm
- php-devel-5.4.16-42.el7.s390x.rpm
- php-dba-5.4.16-42.el7.aarch64.rpm
- php-intl-5.4.16-42.el7.ppc64le.rpm
- php-fpm-5.4.16-42.el7.x86_64.rpm
- php-mysqlnd-5.4.16-42.el7.s390x.rpm
- php-recode-5.4.16-42.el7.s390x.rpm
- php-xml-5.4.16-42.el7.aarch64.rpm
- php-odbc-5.4.16-42.el7.aarch64.rpm
- php-gd-5.4.16-42.el7.s390x.rpm
- php-soap-5.4.16-42.el7.ppc64le.rpm
- php-debuginfo-5.4.16-42.el7.s390x.rpm
- php-dba-5.4.16-42.el7.s390x.rpm
- php-pspell-5.4.16-42.el7.s390x.rpm
- php-recode-5.4.16-42.el7.ppc64le.rpm
- php-xmlrpc-5.4.16-42.el7.aarch64.rpm
- php-process-5.4.16-42.el7.x86_64.rpm
- php-bcmath-5.4.16-42.el7.ppc64le.rpm
- php-embedded-5.4.16-42.el7.x86_64.rpm
- php-bcmath-5.4.16-42.el7.ppc64.rpm
- php-mysql-5.4.16-42.el7.s390x.rpm
- php-mbstring-5.4.16-42.el7.ppc64le.rpm
- php-embedded-5.4.16-42.el7.aarch64.rpm
- php-embedded-5.4.16-42.el7.s390x.rpm
- php-process-5.4.16-42.el7.aarch64.rpm
- php-pdo-5.4.16-42.el7.ppc64le.rpm
- php-5.4.16-42.el7.ppc64.rpm
- php-dba-5.4.16-42.el7.x86_64.rpm
- php-cli-5.4.16-42.el7.s390x.rpm
- php-debuginfo-5.4.16-42.el7.aarch64.rpm
- php-common-5.4.16-42.el7.x86_64.rpm
- php-bcmath-5.4.16-42.el7.s390x.rpm
- php-debuginfo-5.4.16-42.el7.x86_64.rpm
- php-gd-5.4.16-42.el7.x86_64.rpm
- php-ldap-5.4.16-42.el7.ppc64.rpm
- php-ldap-5.4.16-42.el7.x86_64.rpm
- php-5.4.16-42.el7.s390x.rpm
- php-bcmath-5.4.16-42.el7.x86_64.rpm
- php-soap-5.4.16-42.el7.aarch64.rpm
- php-common-5.4.16-42.el7.ppc64le.rpm
- php-devel-5.4.16-42.el7.aarch64.rpm
- php-enchant-5.4.16-42.el7.aarch64.rpm
- php-xml-5.4.16-42.el7.s390x.rpm
- php-debuginfo-5.4.16-42.el7.ppc64le.rpm
- php-odbc-5.4.16-42.el7.x86_64.rpm
- php-devel-5.4.16-42.el7.x86_64.rpm
- php-mbstring-5.4.16-42.el7.ppc64.rpm
- php-enchant-5.4.16-42.el7.s390x.rpm
- php-pgsql-5.4.16-42.el7.aarch64.rpm
- php-devel-5.4.16-42.el7.ppc64.rpm
- php-pspell-5.4.16-42.el7.aarch64.rpm
- php-intl-5.4.16-42.el7.aarch64.rpm
- php-pgsql-5.4.16-42.el7.s390x.rpm
- php-cli-5.4.16-42.el7.x86_64.rpm
- php-embedded-5.4.16-42.el7.ppc64.rpm
- php-recode-5.4.16-42.el7.ppc64.rpm
- php-recode-5.4.16-42.el7.aarch64.rpm
- php-cli-5.4.16-42.el7.ppc64.rpm
- php-snmp-5.4.16-42.el7.ppc64le.rpm
- php-pspell-5.4.16-42.el7.ppc64le.rpm
- php-fpm-5.4.16-42.el7.ppc64le.rpm
- php-intl-5.4.16-42.el7.ppc64.rpm
- php-process-5.4.16-42.el7.ppc64le.rpm
- php-snmp-5.4.16-42.el7.s390x.rpm
- php-xmlrpc-5.4.16-42.el7.x86_64.rpm
- php-snmp-5.4.16-42.el7.aarch64.rpm
- php-5.4.16-42.el7.aarch64.rpm
- php-mysqlnd-5.4.16-42.el7.x86_64.rpm
- php-process-5.4.16-42.el7.s390x.rpm
- php-pspell-5.4.16-42.el7.ppc64.rpm
- php-xmlrpc-5.4.16-42.el7.s390x.rpm
- php-devel-5.4.16-42.el7.ppc64le.rpm
- php-mysqlnd-5.4.16-42.el7.ppc64.rpm
- php-pgsql-5.4.16-42.el7.ppc64.rpm
- php-xml-5.4.16-42.el7.ppc64le.rpm
- php-bcmath-5.4.16-42.el7.aarch64.rpm
- php-ldap-5.4.16-42.el7.s390x.rpm
- php-mbstring-5.4.16-42.el7.aarch64.rpm
- php-mysql-5.4.16-42.el7.ppc64.rpm
- php-snmp-5.4.16-42.el7.ppc64.rpm
- php-fpm-5.4.16-42.el7.aarch64.rpm
- php-xml-5.4.16-42.el7.ppc64.rpm
- php-pspell-5.4.16-42.el7.x86_64.rpm
- php-snmp-5.4.16-42.el7.x86_64.rpm
- php-xmlrpc-5.4.16-42.el7.ppc64le.rpm
- php-xml-5.4.16-42.el7.x86_64.rpm
- php-mbstring-5.4.16-42.el7.x86_64.rpm
- php-dba-5.4.16-42.el7.ppc64.rpm
Fixes
- This content is not included.BZ - 1073388
- This content is not included.BZ - 1131979
- This content is not included.BZ - 1289457
- This content is not included.BZ - 1291667
- This content is not included.BZ - 1297179
- This content is not included.BZ - 1344578
- This content is not included.BZ - 1351068
- This content is not included.BZ - 1351069
- This content is not included.BZ - 1351168
- This content is not included.BZ - 1358395
CVEs
References
Additional information
- The Red Hat security contact is This content is not included.secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.