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.
Conclusion & alert: CVE-2021-40528 is rated High Exploit Risk (63.3/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 1.32%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +1.23% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.10% | 1.32% | +1.23% |
| 2 | 2025-11-21 | 0.30% | 0.10% | -0.20% |
| 3 | 2025-11-18 | — | 0.30% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | [email protected] |
| 5.9 | 3.1 | MEDIUM |
|
2.2 | 3.6 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 2.6 | 2.0 | LOW |
|
4.9 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-40528: 1 source package rows (libgcrypt); 19 state rows across 7 repos (3.11-main, 3.12-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 2, open 17. | https://security.alpinelinux.org/vuln/CVE-2021-40528 |
debian
|
not yet assigned | CVE-2021-40528 not yet assigned priority: Debian including 1 source packages (libgcrypt20), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2021-40528 |
gentoo
|
normal | CVE-2021-40528: 1 GLSA(s) (202210-13), 1 atom(s) (dev-libs/libgcrypt); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-40528 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-40528 |
suse
|
medium | CVE-2021-40528 severity moderate: SUSE including 30 source package names (libgcrypt, libgcrypt-1.8.5-7.el8_6, …), 173 product×package rows across 45 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (45 product lines)): Known Not Affected 153, Fixed 20. | https://www.suse.com/security/cve/CVE-2021-40528/ |
ubuntu
|
medium | CVE-2021-40528 medium priority: Ubuntu including 1 source packages (libgcrypt20), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): released 14, DNE 1. | https://ubuntu.com/security/CVE-2021-40528 |
| URL | Tags |
|---|---|
| https://eprint.iacr.org/2021/923 | Technical Description Third Party Advisory |
| https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git%3Ba=commit%3Bh=3462280f2e23e16adf3ed5176e0f2413d8861320 | |
| https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 | Third Party Advisory |
| https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 | Exploit Third Party Advisory |
| https://security.gentoo.org/glsa/202210-13 | Third Party Advisory |