The php_openssl_apply_verification_policy function in PHP before 5.2.11 does not properly perform certificate validation, which has unknown impact and attack vectors, probably related to an ability to spoof certificates.
Related bugs and status
CVE-2009-3291 (Candidate)
is related to these bugs: