@Seldaek yes, I believe this is safe. The openssl_x509_parse vulnerability comes specifically from their trying to add date information to the parsed structure, which I dont believe the context options do.