The SoapClient implementation in PHP before 5.4.40 5.5.x before 5.5.24 and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via an unexpected data type related to \type confusion\ issues in the (1) SoapClient::__getLastRequest (2) SoapClient::__getLastResponse (3) SoapClient::__getLastRequestHeaders (4) SoapClient::__getLastResponseHeaders (5) SoapClient::__getCookies and (6) SoapClient::__setCookie methods.