Description
The Crypt_GPG extension before 1.6.7 for PHP does not prevent additional options in GPG calls, which presents a risk for certain environments and GPG versions.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-crypt-gpg | 1.6.7-1 | — |
| Debian 13 | php-crypt-gpg | 1.6.7-1 | — |
| Debian 12 | php-crypt-gpg | 1.6.7-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | php-crypt-gpg | No fix yet | — |
| Ubuntu 16.04 LTS | php-crypt-gpg | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | pear/crypt_gpg | < 1.6.7 | 1.6.7 | GHSA-59x4-67mh-px54 |