{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-40530","published":"2021-09-06T19:15:07.673000Z","last_modified":"2026-06-17T04:07:05.967000Z","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:cryptopp:crypto\\+\\+:*:*:*:*:*:*:*:*","part":"a","vendor":"cryptopp","product":"crypto++","version_end_including":"8.5"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"35"}],"cpes_truncated":false,"vendors":["cryptopp","fedoraproject"],"products":["cryptopp/crypto","fedoraproject/fedora"],"epss":{"score":0.01157,"percentile":0.66911,"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-40530/","html_en":"/en/cve/CVE-2021-40530/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-40530","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-40530"},"untrusted":{"vendor_name":"Cryptopp","product_name":"Crypto++","desc_en":"The ElGamal implementation in Crypto++ through 8.5 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://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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/","tags":[]}]}}