CVE-2021-40528
MEDIUM5.9EPSS 0.10%libgcrypt20 - security update
Published: 9/6/2021Modified: 4/28/2026
Description
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.
Affected packages (3)
- Alpine/libgcryptfrom 0, < 1.8.8-r1
- Debian/libgcrypt20from 0, < 1.8.7-6
- Debian/libgcrypt20from 0, < 1.7.6-2+deb9u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |