CVE-2021-40528: Gnupg Libgcrypt
Medium severity, CVSS 5.9. EPSS: 1.4% probability of exploitation activity in the next 30 days.
The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.
What to do
The record states a fixed version for the versions it affects. If you run one, update to it.
- Gnupg Libgcrypt, before 1.9.4: fixed in 1.9.4
Affected products
Published 2021-09-06. Last modified 2026-06-17.