Use-after-free vulnerability in the add_post_var function in the Posthandler component in PHP 5.6.x before 5.6.1 might allow remote attackers to execute arbitrary code by leveraging a third-party filter extension that accesses a certain ksep value.
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 |
---|---|
http://php.net/ChangeLog-5.php | release notes vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1151423 | issue tracking third party advisory patch |
https://bugs.php.net/bug.php?id=68088 | exploit vendor advisory |