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.
Published: 2021-09-06
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2021-27703 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.
Ubuntu USN Ubuntu USN USN-5080-1 Libgcrypt vulnerabilities
Ubuntu USN Ubuntu USN USN-5080-2 Libgcrypt vulnerabilities
History

Mon, 09 Jun 2025 16:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Subscriptions

Gnupg Libgcrypt
Redhat Enterprise Linux
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-06-09T15:13:03.906Z

Reserved: 2021-09-06T00:00:00.000Z

Link: CVE-2021-40528

cve-icon Vulnrichment

Updated: 2024-08-04T02:44:10.845Z

cve-icon NVD

Status : Modified

Published: 2021-09-06T19:15:07.587

Modified: 2025-06-09T16:15:33.000

Link: CVE-2021-40528

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-07-20T00:00:00Z

Links: CVE-2021-40528 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses