CVE-2021-40530

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 49%
VendorProductVersion
cryptoppcrypto\+\+
𝑥
≤ 8.5
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libcrypto++
bullseye
no-dsa
buster
no-dsa
stretch
no-dsa
bookworm
8.7.0+git220824-1
fixed
sid
8.9.0-1.1
fixed
trixie
8.9.0-1.1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libcrypto++
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
impish
ignored
hirsute
ignored
focal
needs-triage
bionic
needs-triage
xenial
needs-triage
trusty
needs-triage