curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
https://exchange.xforce.ibmcloud.com/vulnerabilities/42134
https://exchange.xforce.ibmcloud.com/vulnerabilities/39852
http://www.vupen.com/english/advisories/2008/2780
http://www.vupen.com/english/advisories/2008/2268
http://www.vupen.com/english/advisories/2008/1412
http://www.ubuntu.com/usn/usn-628-1
http://www.securityfocus.com/bid/31681
http://www.securityfocus.com/bid/29009
http://www.securityfocus.com/bid/27413
http://www.securityfocus.com/archive/1/492671/100/0/threaded
http://www.securityfocus.com/archive/1/486856/100/0/threaded
http://www.php.net/ChangeLog-5.php
http://www.openwall.com/lists/oss-security/2008/05/02/2
http://www.mandriva.com/security/advisories?name=MDVSA-2009:023
http://www.mandriva.com/security/advisories?name=MDVSA-2009:022
http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0178
http://support.apple.com/kb/HT3216
http://securityreason.com/securityalert/3562
http://secunia.com/advisories/32222
http://secunia.com/advisories/31326
http://secunia.com/advisories/31200
http://secunia.com/advisories/30411
http://secunia.com/advisories/30048
http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
http://lists.apple.com/archives/security-announce//2008/Jul/msg00003.html