RHSA-2016:2598

Type: Security
Severity: Moderate
Published: 2016-11-03
Red Hat Enterprise Linux 7

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.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-27T22:48:10.777Z UTC

Official vendor advisory

Red Hat Enterprise Linux 7

View source
Observed 2026-11-27T22:48:10.777Z UTC. Last updated 2026-10-07T11:57:10.965Z UTC.

Upstream Advisory

Affected Packages

  • php-xml 5.4.16-42.el7

  • php-xmlrpc 5.4.16-42.el7

  • php 5.4.16-42.el7

  • php-bcmath 5.4.16-42.el7

  • php-cli 5.4.16-42.el7

  • php-common 5.4.16-42.el7

  • php-dba 5.4.16-42.el7

  • php-devel 5.4.16-42.el7

  • php-embedded 5.4.16-42.el7

  • php-enchant 5.4.16-42.el7

  • php-fpm 5.4.16-42.el7

  • php-gd 5.4.16-42.el7

  • php-intl 5.4.16-42.el7

  • php-ldap 5.4.16-42.el7

  • php-mbstring 5.4.16-42.el7

  • php-mysql 5.4.16-42.el7

  • php-mysqlnd 5.4.16-42.el7

  • php-odbc 5.4.16-42.el7

  • php-pdo 5.4.16-42.el7

  • php-pgsql 5.4.16-42.el7

  • php-process 5.4.16-42.el7

  • php-pspell 5.4.16-42.el7

  • php-recode 5.4.16-42.el7

  • php-snmp 5.4.16-42.el7

  • php-soap 5.4.16-42.el7

Interested in being alerted when there are new versions of php-xml and the other packages? Set up an alert.
RHSA-2016:2598: php security and bug fix update | Package Alert