Skip to content
OpenAdvisories
Unscored CVE-2016-7479 EUVD-2016-8332GHSA-x9vm-7p3c-2c8q

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-a…

Published Jan 12, 2017 · Updated Aug 6, 2024 · Assigned by checkpoint

Description

In all versions of PHP 7, during the unserialization process, resizing the 'properties' hash table of a serialized object may lead to use-after-free. A remote attacker may exploit this bug to gain arbitrary code execution.

Affected products

VendorProductAffectedFixed
— PHP 7.x PHP 7.x —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 8 php5 5.6.30+dfsg-0+deb8u1 DSA-3783-1
Debian 7 php5 5.4.45-0+deb7u8 DLA-875-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS php7.0 7.0.15-0ubuntu0.16.04.2 USN-3211-1
Ubuntu 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.21 USN-3196-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-php70-php +29 7.0.27-1.el6 RHSA-2018:1296
ReleasePackageFixed inAdvisory
SLES 12 SP2 php7 7.0.7-35.1 SUSE-SU-2017:0534-1
SLES 12 SP1 php7 7.0.7-35.1 SUSE-SU-2017:0534-1
SLES 12 php7 7.0.7-35.1 SUSE-SU-2017:0534-1

Advisories 6

References