The openssl_x509_parse function in openssl.c in the OpenSSL module in PHP before 5.4.18 and 5.5.x before 5.5.2 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
http://www.ubuntu.com/usn/USN-1937-1
http://www.securitytracker.com/id/1028924
http://www.securityfocus.com/bid/61776
http://www.php.net/ChangeLog-5.php
http://www.debian.org/security/2013/dsa-2742
http://support.apple.com/kb/HT6150
http://secunia.com/advisories/59652
http://secunia.com/advisories/55078
http://secunia.com/advisories/54657
http://secunia.com/advisories/54478
http://rhn.redhat.com/errata/RHSA-2013-1615.html
http://rhn.redhat.com/errata/RHSA-2013-1307.html
http://marc.info/?l=bugtraq&m=141390017113542&w=2
http://lists.opensuse.org/opensuse-updates/2013-12/msg00126.html
http://lists.opensuse.org/opensuse-updates/2013-12/msg00125.html
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=2874696a5a8d46639d261571f915c493cd875897