{"id":"CVE-2016-9936","details":"The unserialize implementation in ext/standard/var.c in PHP 7.x before 7.0.14 allows remote attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact via crafted serialized data.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2015-6834.","modified":"2026-10-20T13:19:22.785641367Z","published":"2017-01-04T20:59:00.607Z","related":["SUSE-SU-2017:0017-1"],"database_specific":{},"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2017-01/msg00034.html"},{"type":"WEB","url":"http://www.securityfocus.com/bid/94849"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2018:1296"},{"type":"REPORT","url":"https://bugs.php.net/bug.php?id=72978"},{"type":"FIX","url":"http://www.php.net/ChangeLog-7.php"},{"type":"FIX","url":"https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2016/12/12/2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/php/php-src","events":[{"introduced":"60fffd296abce5fc071f3c173c25a2696cf683c6"},{"last_affected":"721bcb2b7e7d283f89c300caed54a532e7fc5ddf"},{"fixed":"b2af4e8868726a040234de113436c6e4f6372d17"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"7.0.0"},{"last_affected":"7.0.0"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*","range":[{"introduced":"7.0.1"},{"last_affected":"7.0.1"}]},{"cpe":"cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*","range":[{"introduced":"7.0.2"},{"last_affected":"7.0.2"}],"source":"CPE_STRING"},{"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:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.0.5"},{"last_affected":"7.0.5"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*","range":[{"introduced":"7.0.6"},{"last_affected":"7.0.6"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*","range":[{"introduced":"7.0.7"},{"last_affected":"7.0.7"}]},{"range":[{"introduced":"7.0.8"},{"last_affected":"7.0.8"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php: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:*:*:*:*:*:*:*"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*","range":[{"introduced":"7.0.11"},{"last_affected":"7.0.11"}]},{"range":[{"introduced":"7.0.12"},{"last_affected":"7.0.12"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*"},{"range":[{"introduced":"7.0.13"},{"last_affected":"7.0.13"}],"source":"CPE_STRING","cpe":"cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"b2af4e8868726a040234de113436c6e4f6372d17"}]}]}}],"versions":["7.0.0","7.0.1","7.0.10","7.0.11","7.0.12","7.0.13","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-9936.json","vanir_signatures":[{"target":{"file":"ext/standard/var.c","function":"PHP_FUNCTION"},"deprecated":false,"digest":{"function_hash":"163919097064633431796530038461789854321","length":1359},"id":"CVE-2016-9936-2952288b","signature_type":"Function","signature_version":"v1","source":"https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17"},{"source":"https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17","target":{"file":"ext/standard/var.c"},"deprecated":false,"digest":{"line_hashes":["133989500739335572472180032269523616631","173228499048002006869839265895117904363","95121896849577457867629478963211194495","254468547754406526900685380808396410134","153463431164748890972706278510094346576","103883253828014354123734651881652682809","238212126955117088207755555621992359151","183778622276609806544846706656325486230","291192368226972925913862946723788043006","22621044917867938151649954650092987150","186110557801505398965595665184621792723","51186678585003836062752315817643824194","228010155175261472109359796944335067227","290710052435613427613634166377691638508","262468581539918285098718900042987560333","185226242802965103332539239777109399071","202958032855601595112416626134764678655","300654735560524647184259634826314879885","87478514085775468505125296944991706113","57831444154340155485902311915043449904","25353185225585869047164964247354820544"],"threshold":0.9},"id":"CVE-2016-9936-f3e232d1","signature_type":"Line","signature_version":"v1"}],"vanir_signatures_modified":"2026-10-20T13:19:22Z"}}],"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"}]}