CVE-2021-40528

The ElGamal implementation in Libgcrypt before 1.9.4 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: 27%
VendorProductVersion
gnupglibgcrypt
𝑥
< 1.9.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libgcrypt20
bullseye
1.8.7-6
fixed
bookworm
1.10.1-3
fixed
sid
1.11.0-6
fixed
trixie
1.11.0-6
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libgcrypt20
noble
Fixed 1.8.7-5ubuntu2
released
mantic
Fixed 1.8.7-5ubuntu2
released
lunar
Fixed 1.8.7-5ubuntu2
released
kinetic
Fixed 1.8.7-5ubuntu2
released
jammy
Fixed 1.8.7-5ubuntu2
released
impish
Fixed 1.8.7-5ubuntu2
released
hirsute
Fixed 1.8.7-2ubuntu2.1
released
focal
Fixed 1.8.5-5ubuntu1.1
released
bionic
Fixed 1.8.1-4ubuntu1.3
released
xenial
Fixed 1.6.5-2ubuntu0.6+esm1
released
trusty
dne