CVE-2021-40530

medium
Published — · Modified —
CVSS v3
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-40530

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-40530.html

OS impact

OSVersionStatusFixed in
arch archfixed8.6.0-1
suse slesaffected
debian debianbookwormfixed8.6.0-1
debian debianbullseyeaffected
debian debianforkyfixed8.6.0-1
debian debiansidfixed8.6.0-1
debian debiantrixiefixed8.6.0-1

References

Verify integrity in audit chain (admin only). AS-IS.