{"id":"CVE-2021-40528","published":"2021-09-06T00:00:00Z","modified":"2025-06-09T15:13:03Z","title":"The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01423,"percentile":0.73537,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://eprint.iacr.org/2021/923","tags":[]},{"url":"https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1","tags":[]},{"url":"https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2","tags":[]},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320","tags":[]},{"url":"https://security.gentoo.org/glsa/202210-13","tags":["vendor-advisory"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":14.71},{"name":"CVSS severity","points":4.13}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-09T15:12:20.359985Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-27703","exploited":false,"provenance":"source"}}