The php_url_parse_ex function in ext/standard/url.c in PHP before 5.5.38 allows remote attackers to cause a denial of service (buffer over-read) or possibly have unspecified other impact via vectors involving the smart_str data type.
https://support.apple.com/HT207170
http://www.securitytracker.com/id/1036430
http://www.securityfocus.com/bid/92111
http://rhn.redhat.com/errata/RHSA-2016-2750.html
http://php.net/ChangeLog-5.php
http://openwall.com/lists/oss-security/2016/07/24/2
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=629e4da7cc8b174acdeab84969cbfc606a019b31