{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-40528","published":"2021-09-06T19:15:07.587000Z","last_modified":"2026-06-17T04:07:05.660000Z","status":"Modified","cvss":{"version":"3.1","score":5.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-327"],"cpes":[{"criteria":"cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:*","part":"a","vendor":"gnupg","product":"libgcrypt","version_end_excluding":"1.9.4"}],"cpes_truncated":false,"vendors":["gnupg"],"products":["gnupg/libgcrypt"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01423,"percentile":0.73131,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":51,"links":{"html_es":"/es/cve/CVE-2021-40528/","html_en":"/en/cve/CVE-2021-40528/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40528","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40528"},"untrusted":{"vendor_name":"Gnupg","product_name":"Libgcrypt","desc_en":"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.","affected":[],"references":[{"url":"https://eprint.iacr.org/2021/923","tags":["Technical Description","Third Party Advisory"]},{"url":"https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320","tags":[]},{"url":"https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1","tags":["Third Party Advisory"]},{"url":"https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2","tags":["Exploit","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202210-13","tags":["Third Party Advisory"]}]}}