Government of the Republic of Trinidad and Tobago

TTCSIRT-038.090117: TT-CSIRT Advisory – PHP Security Updates

TTCSIRT-038.090117: TT-CSIRT Advisory – PHP Security Updates

Multiple vulnerabilities have been discovered in PHP, the most severe of which could allow an attacker to execute arbitrary code:

a)Fixed bug #74947 (Segfault in scanner on INF number).
b) Fixed bug #74954 (null deref and segfault in zend_generator_resume()).
c) Fixed bug #74725 (html_errors=1 breaks unhandled exceptions).
d) Fixed bug #74125 (Fixed finding CURL on systems with multiarch support).
e) Fixed bug #75002 (Null Pointer Dereference in timelib_time_clone).
f) Fixed bug #74993 (Wrong reflection on some locale_* functions).
g) Fixed bug #71606 (Segmentation fault mb_strcut with HTML-ENTITIES encoding).
h)bFixed bug #62934 (mb_convert_kana() does not convert iteration marks).
i) Fixed bug #75001 (Wrong reflection on mb_eregi_replace).
j) Fixed bug #74968 (PHP crashes when calling mysqli_result::fetch_object with an abstract class).
k) Fixed bug #74991 (include_path has a 4096 char limit in some cases).
l) Fixed bug #74949 (null pointer dereference in _function_string).
m) Fixed bug #74833 (SID constant created with wrong module number).
n) Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces).
o) Fixed bug #75049 (spl_autoload_unregister can’t handle spl_autoload_functions results).
p) Fixed bug #74669 (Unserialize ArrayIterator broken).
q) Fixed bug #75015 (Crash in recursive iterator destructors).
r) Fixed bug #75075 (unpack with X* causes infinity loop).
s) Fixed bug #74103 (heap-use-after-free when unserializing invalid array size).
t) Fixed bug #75054 (A Denial of Service Vulnerability was found when performing deserialization).
u) Fixed bug #73793 (WDDX uses wrong decimal seperator).
v) Fixed bug #74975 (Incorrect xmlrpc serialization for classes with declared properties).

Successfully exploiting the most severe of these vulnerabilities could allow for remote attackers to execute arbitrary code in the context of the affected application. Failed exploitation could result in a denial-of-service condition.

Further information on these vulnerabilities and how they can be fixed can be found at