CVE-2021-40528

MEDIUM

libgcrypt < 1.9.4 - Plaintext Recovery via ElGamal Cross-Configuration Attack

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.9
EPSS 0.0132
EPSS Percentile 67.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-327
Status published
Products (1)
gnupg/libgcrypt < 1.9.4
Published Sep 06, 2021
Tracked Since Feb 18, 2026