Use-after-free vulnerability in the wddx_stack_destroy 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 wddx_deserialize call.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/php/php-src/commit/b88393f08a558eec14964a55d3c680fe67407712?w=1 | issue tracking patch |
http://www.php.net/ChangeLog-7.php | release notes |
https://security.gentoo.org/glsa/201611-22 | vendor advisory |
http://www.securitytracker.com/id/1036836 | vdb entry |
http://www.openwall.com/lists/oss-security/2016/09/15/10 | mailing list |
https://access.redhat.com/errata/RHSA-2018:1296 | vendor advisory |
http://www.php.net/ChangeLog-5.php | release notes |
https://www.tenable.com/security/tns-2016-19 | |
http://www.securityfocus.com/bid/93006 | vdb entry |
https://bugs.php.net/bug.php?id=72860 | issue tracking exploit |