CVE-2016-7413: Use After Free
Fixed bug (wddxdeserialize use-after-free). (CVE-2016-7413)
Other sources
It was discovered that when WDDX tries to deserialize "recordset" element, use after free happens if close tag for the field is not found. This happens only when field names are set.
Upstream bug:
https://bugs.php.net/bug.php?id=72860
Upstream patch:
https://github.com/php/php-src/commit/b88393f08a558eec14964a55d3c680fe67407712?w=1
CVE assignment:
http://seclists.org/oss-sec/2016/q3/518
— Red Hat
Use-after-free vulnerability in the wddxstackdestroy function in ext/wddx/wddx.c in PHP before 5.6.26 and 7.x before 7.0.11 allows remote attackers to cause a denial of service or possibly have unspecified other impact via a wddxPacket XML document that lacks an end-tag for a recordset field element, leading to mishandling in a wddxdeserialize call.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2016-7413?
CVE-2016-7413 is considered a denial of service vulnerability that can potentially lead to unspecified impacts.
How do I fix CVE-2016-7413?
To fix CVE-2016-7413, upgrade PHP to version 5.6.26 or 7.0.11 or later.
Which versions of PHP are affected by CVE-2016-7413?
CVE-2016-7413 affects PHP versions prior to 5.6.26 and 7.x before 7.0.11.
What can be exploited using CVE-2016-7413?
CVE-2016-7413 can be exploited by remote attackers via a wddxPacket XML document lacking an end-tag for a recordset field element.
Is there a risk of remote code execution with CVE-2016-7413?
CVE-2016-7413 does not directly lead to remote code execution, but it can cause a denial of service.