Skip to content
OpenAdvisories
Unscored SUSE-SU-2017:0534-1 13 CVEs

Security update for php7

Published Feb 22, 2017 · Updated Feb 4, 2026

Summary

This update for php7 fixes the following security issues:

- CVE-2016-7480: The SplObjectStorage unserialize implementation in
ext/spl/spl_observer.c in PHP did not verify that a key is an object,
which allowed remote attackers to execute arbitrary code or cause a denial
of service (uninitialized memory access) via crafted serialized data.
(bsc#1019568)
- CVE-2017-5340: Zend/zend_hash.c in PHP mishandled certain cases that
require large array allocations, which allowed remote attackers to
execute arbitrary code or cause a denial of service (integer overflow,
uninitialized memory access, and use of arbitrary destructor function
pointers) via crafted serialized data. (bsc#1019570)
- CVE-2016-7479: In all versions of PHP 7, during the unserialization
process, resizing the 'properties' hash table of a serialized object may
have lead to use-after-free. A remote attacker may exploit this bug to
gain arbitrary code execution. (bsc#1019547)
- CVE-2016-7478: Zend/zend_exceptions.c in PHP allowed remote attackers to
cause a denial of service (infinite loop) via a crafted Exception object
in serialized data, a related issue to CVE-2015-8876. (bsc#1019550)
- CVE-2016-10159: Integer overflow in the phar_parse_pharfile function
in ext/phar/phar.c in PHP allowed remote attackers to cause a denial
of service (memory consumption or application crash) via a truncated
manifest entry in a PHAR archive. (bsc#1022255)
- CVE-2016-10160: Off-by-one error in the phar_parse_pharfile function
in ext/phar/phar.c in PHP allowed remote attackers to cause a denial
of service (memory corruption) or possibly execute arbitrary code via
a crafted PHAR archive with an alias mismatch. (bsc#1022257)
- CVE-2016-10161: The object_common1 function in
ext/standard/var_unserializer.c in PHP allowed remote attackers to
cause a denial of service (buffer over-read and application crash) via
crafted serialized data that is mishandled in a finish_nested_data call.
(bsc#1022260)
- CVE-2016-10162: The php_wddx_pop_element function in ext/wddx/wddx.c in
PHP 7 allowed remote attackers to cause a denial of service (NULL pointer
dereference and application crash) via an inapplicable class name in a
wddxPacket XML document, leading to mishandling in a wddx_deserialize
call. (bsc#1022262)
- CVE-2016-10166: A potential unsigned underflow in gd interpolation
functions could lead to memory corruption in the PHP gd module
(bsc#1022263)
- CVE-2016-10167: A denial of service problem in gdImageCreateFromGd2Ctx()
could lead to php out of memory even on small files. (bsc#1022264)
- CVE-2016-10168: A signed integer overflow in the gd module could lead
to memory corruption (bsc#1022265)
- CVE-2016-9138: PHP mishandled property modification during __wakeup
processing, which allows remote attackers to cause a denial of
service or possibly have unspecified other impact via crafted
serialized data, as demonstrated by Exception::__toString with
DateInterval::__wakeup. (bsc#1008026)

Fixed packages 3

ReleasePackageFixed in
SUSE · SLES 12 Linux Enterprise Module for Web and Scripting 12 php7 7.0.7-35.1
SUSE · SLES 12 SP1 Linux Enterprise Software Development Kit 12 SP1 php7 7.0.7-35.1
SUSE · SLES 12 SP2 Linux Enterprise Software Development Kit 12 SP2 php7 7.0.7-35.1

Vulnerabilities 13

  • Unscored —

    The exif_convert_any_to_int function in ext/exif/exif.c in PHP before 5.6.30, 7.0.x before 7.0.15, and 7.1.x before 7.1…

  • Unscored —

    Integer overflow in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 al…

  • Unscored —

    Off-by-one error in the phar_parse_pharfile function in ext/phar/phar.c in PHP before 5.6.30 and 7.0.x before 7.0.15 al…

  • Unscored —
    CVE-2016-10161 EPSS 13%

    The object_common1 function in ext/standard/var_unserializer.c in PHP before 5.6.30, 7.0.x before 7.0.15, and 7.1.x bef…

  • Unscored —

    The php_wddx_pop_element function in ext/wddx/wddx.c in PHP 7.0.x before 7.0.15 and 7.1.x before 7.1.1 allows remote at…

  • Unscored —
    CVE-2016-10166 EPSS 11%

    Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) be…

  • Unscored —

    The gdImageCreateFromGd2Ctx function in gd_gd2.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote atta…

  • Unscored —

    Integer overflow in gd_io.c in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have unspeci…

  • Unscored —
    CVE-2016-7478 EPSS 42%

    Zend/zend_exceptions.c in PHP, possibly 5.x before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a den…

  • Unscored —
    CVE-2016-7479 EPSS 42%

    In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized obje…

  • Unscored —
    CVE-2016-7480 EPSS 42%

    The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a k…

  • Unscored —

    PHP through 5.6.27 and 7.x through 7.0.12 mishandles property modification during __wakeup processing, which allows rem…

  • Unscored —
    CVE-2017-5340 EPSS 17%

    Zend/zend_hash.c in PHP before 7.0.15 and 7.1.x before 7.1.1 mishandles certain cases that require large array allocati…

References

  • report
    https://bugzilla.suse.com/1008026
  • report
    https://bugzilla.suse.com/1019547
  • report
    https://bugzilla.suse.com/1019550
  • report
    https://bugzilla.suse.com/1019568
  • report
    https://bugzilla.suse.com/1019570
  • report
    https://bugzilla.suse.com/1022219
  • report
    https://bugzilla.suse.com/1022255
  • report
    https://bugzilla.suse.com/1022257
  • report
    https://bugzilla.suse.com/1022260
  • report
    https://bugzilla.suse.com/1022262
  • report
    https://bugzilla.suse.com/1022263
  • report
    https://bugzilla.suse.com/1022264
  • report
    https://bugzilla.suse.com/1022265
  • web
    https://www.suse.com/security/cve/CVE-2016-10158
  • web
    https://www.suse.com/security/cve/CVE-2016-10159
  • web
    https://www.suse.com/security/cve/CVE-2016-10160
  • web
    https://www.suse.com/security/cve/CVE-2016-10161
  • web
    https://www.suse.com/security/cve/CVE-2016-10162
  • web
    https://www.suse.com/security/cve/CVE-2016-10166
  • web
    https://www.suse.com/security/cve/CVE-2016-10167
  • web
    https://www.suse.com/security/cve/CVE-2016-10168
  • web
    https://www.suse.com/security/cve/CVE-2016-7478
  • web
    https://www.suse.com/security/cve/CVE-2016-7479
  • web
    https://www.suse.com/security/cve/CVE-2016-7480
  • web
    https://www.suse.com/security/cve/CVE-2016-9138
  • web
    https://www.suse.com/security/cve/CVE-2017-5340