The Crypt_GPG extension prior to 1.6.7 for PHP does not prevent additional options in GPG calls, which presents a risk for certain environments and GPG versions.
pear crypt gpg