CVE-2016-9936: Use After Free

Published Dec 8, 2016
·
Updated

A use-after-free vulnerability was found in unserialize().

Upstream bug:

https://bugs.php.net/bug.php?id=72978

Upstream patch:

https://github.com/php/php-src/commit/b2af4e8868726a040234de113436c6e4f6372d17

CVE assignment:

http://seclists.org/oss-sec/2016/q4/658

Other sources

Fixed bug (Use After Free Vulnerability in unserialize()). (CVE-2016-9936)

PHP

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.

MITRE

Affected Software

17 affected componentsFixes available
redhat/php<7.0.14
7.0.14
redhat/php<7.1.0
7.1.0
PHP PHP=7.0.0
PHP PHP=7.0.1
PHP PHP=7.0.2
PHP PHP=7.0.3
PHP PHP=7.0.4
PHP PHP=7.0.5
PHP PHP=7.0.6
PHP PHP=7.0.7
PHP PHP=7.0.8
PHP PHP=7.0.9
PHP PHP=7.0.10
PHP PHP=7.0.11
PHP PHP=7.0.12
PHP PHP=7.0.13
PHP PHP<7.0.14
7.0.14

Event History

Dec 8, 2016
CVE Published
via PHP·12:00 AM
Jan 4, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-9936?

CVE-2016-9936 is a high severity vulnerability that allows remote attackers to cause denial of service.

2

How do I fix CVE-2016-9936?

To fix CVE-2016-9936, upgrade PHP to version 7.0.14 or 7.1.0 or later.

3

Which versions of PHP are affected by CVE-2016-9936?

PHP versions 7.0.0 through 7.0.13 and PHP 7.1.0 are affected by CVE-2016-9936.

4

What type of vulnerability is CVE-2016-9936?

CVE-2016-9936 is a use-after-free vulnerability that can be exploited via crafted serialized data.

5

Is there any known exploit for CVE-2016-9936?

While specific exploits for CVE-2016-9936 are not publicized, it is considered a serious risk due to its potential for denial of service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203