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.
{
"license": "CC-BY-4.0",
"sources": [
{
"modified": "2026-06-17T04:07:05.660Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2021-40528",
"imported": "2026-07-17T21:11:57.345Z",
"database_specific": {
"status": "Modified"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-40528",
"published": "2021-09-06T19:15:07.587Z",
"id": "CVE-2021-40528"
}
]
}