cvedb.io
CVE-2021-40530
MEDIUM · CVSS 5.9
EPSS exploitation probability: 0%
Published 2021-09-06T19:15:07.673 · Last modified 2026-06-17T04:07:05.967

Summary

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 products

cryptopp — crypto\+\+

Does this affect you?

Add your gear to cvedb and we'll alert you only when cryptopp ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.