CVE-2021-40530

Summary

CVECVE-2021-40530
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-06 19:15:00 UTC
Updated2023-11-07 03:38:00 UTC
DescriptionThe 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.

Risk And Classification

Problem Types: CWE-327

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cryptopp Crypto All All All All
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All

References

ReferenceSourceLinkTags
Cryptology ePrint Archive: Report 2021/923 - On the (in)security of ElGamal in OpenPGP MISC eprint.iacr.org
[SECURITY] Fedora 35 Update: cryptopp-8.6.0-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: cryptopp-8.6.0-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
On the (in)security of ElGamal in OpenPGP - Part II - Syssec@IBM Research MISC ibm.github.io
[SECURITY] Fedora 33 Update: cryptopp-8.6.0-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 33 Update: cryptopp-8.6.0-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
On the (in)security of ElGamal in OpenPGP - Part I - Syssec@IBM Research MISC ibm.github.io
[SECURITY] Fedora 34 Update: cryptopp-8.6.0-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: cryptopp-8.6.0-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 181971 Debian Security Update for libcrypto++ (CVE-2021-40530)
  • 281960 Fedora Security Update for cryptopp (FEDORA-2021-a381a721a9)
  • 281961 Fedora Security Update for cryptopp (FEDORA-2021-6788250ea4)
  • 690802 Free Berkeley Software Distribution (FreeBSD) Security Update for cryptopp (7695b0af-958f-11ec-9aa3-4ccc6adda413)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report