CVE-2021-40528
MEDIUM
Published Sep 6, 20214y ago · Modified Jun 17, 20262w ago
5.9 CVSS 3.1
Published Sep 6, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity None
Availability None
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-327
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| gnupg | libgcrypt | * | <1.9.4 |
References 5
- eprint.iacr.org https://eprint.iacr.org/2021/923
- git.gnupg.org https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320
- ibm.github.io https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1
- ibm.github.io https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2
- security.gentoo.org https://security.gentoo.org/glsa/202210-13
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.