CVE-2021-40528

Severity CVSS v4.0:
Pending analysis
Type:
CWE-327 Use of a Broken or Risky Cryptographic Algorithm
Publication date:
06/09/2021
Last modified:
09/06/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnupg:libgcrypt:*:*:*:*:*:*:*:* 1.9.4 (excluding)