{"id":"CVE-2016-7479","details":"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.","modified":"2026-10-24T10:30:49.618995963Z","published":"2017-01-12T00:59:00.140Z","related":["SUSE-SU-2017:0534-1"],"database_specific":{},"references":[{"type":"WEB","url":"http://www.securitytracker.com/id/1037659"},{"type":"ADVISORY","url":"http://blog.checkpoint.com/2016/12/27/check-point-discovers-three-zero-day-vulnerabilities-web-programming-language-php-7"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/95151"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180112-0001/"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=73092"},{"type":"ARTICLE","url":"https://www.youtube.com/watch?v=LDcaPstAuPk"},{"type":"EVIDENCE","url":"http://blog.checkpoint.com/wp-content/uploads/2016/12/PHP_Technical_Report.pdf"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"last_affected":"0221e9f827632942225586687a33cfd554860d5e"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*","range":[{"introduced":"7.0.0"},{"last_affected":"7.0.0"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*","range":[{"introduced":"7.0.1"},{"last_affected":"7.0.1"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*","range":[{"introduced":"7.0.2"},{"last_affected":"7.0.2"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*","range":[{"introduced":"7.0.3"},{"last_affected":"7.0.3"}]},{"range":[{"introduced":"7.0.4"},{"last_affected":"7.0.4"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*","range":[{"introduced":"7.0.5"},{"last_affected":"7.0.5"}],"source":"CPE_STRING"},{"range":[{"introduced":"7.0.6"},{"last_affected":"7.0.6"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*","range":[{"introduced":"7.0.7"},{"last_affected":"7.0.7"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*","range":[{"introduced":"7.0.8"},{"last_affected":"7.0.8"}]},{"range":[{"introduced":"7.0.9"},{"last_affected":"7.0.9"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.0.10"},{"last_affected":"7.0.10"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*","range":[{"introduced":"7.0.11"},{"last_affected":"7.0.11"}],"source":"CPE_STRING"},{"range":[{"introduced":"7.0.12"},{"last_affected":"7.0.12"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*","range":[{"introduced":"7.0.14"},{"last_affected":"7.0.14"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:php:php:7.1.0:*:*:*:*:*:*:*","range":[{"introduced":"7.1.0"},{"last_affected":"7.1.0"}],"source":"CPE_STRING"}]}}],"versions":["7.0.0","7.0.1","7.0.10","7.0.11","7.0.12","7.0.14","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9","7.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7479.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}