Skip to content
OpenAdvisories
High SUSE-SU-2016:1842-1 9 CVEs

Security update for php5

Published Jul 20, 2016 · Updated Feb 4, 2026

Summary

This update for php5 fixes the following issues:

* It is possible to launch a web server with 'php -S localhost:8080'
It used to be possible to set an arbitrary $HTTP_PROXY environment variable
for request handlers -- like CGI scripts -- by including a specially crafted
HTTP header in the request (CVE-2016-5385). As a result, these server
components would potentially direct all their outgoing HTTP traffic through a
malicious proxy server. This patch fixes the issue: the updated php server
ignores such HTTP headers and never sets $HTTP_PROXY for sub-processes.
(bnc#988486)
* There was multiple cases where a remote attacker could trigger a double free
and, given specific PHP code using callbacks, trigger code execution vectors.
(bnc#986246,bnc#986244,CVE-2016-5768,CVE-2016-5772)
* It was possible to inject header or content information (XSS) when a user was
using internet explorer as the browser. (bnc#986004, CVE-2015-8935)
* In several cases it was possible for a integer overflow to trigger an
excessive memory allocation (bnc#986392, bnc#986388, bnc#986386, bnc#986393,
CVE-2016-5770, CVE-2016-5769, CVE-2016-5766, CVE-2016-5767)
* It was possible for an attacker to abuse the garbage collector to free a
target array. At this point an attacker could craft a fake zval object and
exploit the PHP process by taking over the EIP/RIP. (bnc#986391,
CVE-2016-5771)

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 12 Linux Enterprise Module for Web and Scripting 12 php5 5.5.14-68.1
SUSE · SLES 12 SP1 Linux Enterprise Software Development Kit 12 SP1 php5 5.5.14-68.1

Vulnerabilities 9

  • High 8.1
    CVE-2016-5385 EPSS 50%

    HTTP Proxy header vulnerability

    PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect applications from the presence of untrusted client data in the HTTP_PROXY environment variable, which might allow remote attackers to redi…

  • Unscored —

    The sapi_header_op function in main/SAPI.c in PHP before 5.4.38, 5.5.x before 5.5.22, and 5.6.x before 5.6.6 supports d…

  • Unscored —

    Integer overflow in the _gd2GetHeader function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.3, as used…

  • Unscored —

    Integer overflow in the gdImageCreate function in gd.c in the GD Graphics Library (aka libgd) before 2.0.34RC1, as used…

  • Unscored —

    Double free vulnerability in the _php_mb_regex_ereg_replace_exec function in php_mbregex.c in the mbstring extension in…

  • Unscored —

    Multiple integer overflows in mcrypt.c in the mcrypt extension in PHP before 5.5.37, 5.6.x before 5.6.23, and 7.x befor…

  • Unscored —

    Integer overflow in the SplFileObject::fread function in spl_directory.c in the SPL extension in PHP before 5.5.37 and …

  • Unscored —
    CVE-2016-5771 EPSS 15%

    spl_array.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23 improperly interacts with the unserialize…

  • Unscored —

    Double free vulnerability in the php_wddx_process_data function in wddx.c in the WDDX extension in PHP before 5.5.37, 5…

References

  • report
    https://bugzilla.suse.com/986004
  • report
    https://bugzilla.suse.com/986244
  • report
    https://bugzilla.suse.com/986246
  • report
    https://bugzilla.suse.com/986386
  • report
    https://bugzilla.suse.com/986388
  • report
    https://bugzilla.suse.com/986391
  • report
    https://bugzilla.suse.com/986392
  • report
    https://bugzilla.suse.com/986393
  • report
    https://bugzilla.suse.com/988486
  • web
    https://www.suse.com/security/cve/CVE-2015-8935
  • web
    https://www.suse.com/security/cve/CVE-2016-5385
  • web
    https://www.suse.com/security/cve/CVE-2016-5766
  • web
    https://www.suse.com/security/cve/CVE-2016-5767
  • web
    https://www.suse.com/security/cve/CVE-2016-5768
  • web
    https://www.suse.com/security/cve/CVE-2016-5769
  • web
    https://www.suse.com/security/cve/CVE-2016-5770
  • web
    https://www.suse.com/security/cve/CVE-2016-5771
  • web
    https://www.suse.com/security/cve/CVE-2016-5772