Live threats

All CVEs / Cryptopp

CVE-2021-40530Cryptopp Crypto++

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.2%
probability of exploitation in 30 days · percentile 67
Auth required
No
Published
Sep 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Crypto++.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
cryptoppcrypto++≤ 8.5
fedoraprojectfedora33
fedoraprojectfedora34
fedoraprojectfedora35

Official sources

References

Links published by the sources. Open them with care.