CVE-2016-7479

NameCVE-2016-7479
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-875-1, DSA-3783-1

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
php5sourcewheezy5.4.45-0+deb7u8DLA-875-1
php5sourcejessie5.6.30+dfsg-0+deb8u1DSA-3783-1
php5source(unstable)(unfixed)
php7.0source(unstable)7.0.15-1
php7.1source(unstable)7.1.1-1

Notes

PHP Bug: https://bugs.php.net/bug.php?id=72610
PHP Bug: https://bugs.php.net/bug.php?id=73092
Fixed in 7.0.15
PHP 5.x/7.x: https://git.php.net/?p=php-src.git;a=commit;h=0426b916df396a23e5c34514e4f2f0627efdcdf0
PHP 7.x: https://git.php.net/?p=php-src.git;a=commit;h=b47c49d7a00bc34d7e0f3d72732f66e904da6fa7
The change is in 5.6+, even though the property table issue only affects
PHP 7, because this also prevents a wide range of other __wakeup() based
attacks.

Search for package or bug name: Reporting problems