Live threats

All CVEs / Gnupg

CVE-2021-40528Gnupg Libgcrypt

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Sep 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libgcrypt.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnupglibgcrypt< 1.9.4

Official sources

References

Links published by the sources. Open them with care.