The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, 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-40529 is rated Exploit Available (56.4/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.28%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). 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 | 2025-11-21 | 0.37% | 0.28% | -0.09% |
| 2 | 2025-11-18 | 0.28% | 0.37% | +0.09% |
| 3 | 2025-08-16 | — | 0.28% | — |
Full EPSS history (17 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] |
| 2.6 | 2.0 | LOW |
|
4.9 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
medium | CVE-2021-40529: 1 source package rows (botan); 29 state rows across 8 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, edge-main); fixed 7, open 22. | https://security.alpinelinux.org/vuln/CVE-2021-40529 |
debian
|
not yet assigned | CVE-2021-40529 not yet assigned priority: Debian including 1 source packages (botan), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 2, open 1. | https://security-tracker.debian.org/tracker/CVE-2021-40529 |
gentoo
|
high | CVE-2021-40529: 1 GLSA(s) (202208-14), 2 atom(s) (mail-client/thunderbird, mail-client/thunderbird-bin); latest impact high. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-40529 |
ubuntu
|
low | CVE-2021-40529 low priority: Ubuntu including 2 source packages (botan, botan1.10), 30 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 12, needs-triage 7, not-affected 6, ignored 4, released 1. | https://ubuntu.com/security/CVE-2021-40529 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| botan_project | botan | <= 2.18.1 | cpe:2.3:a:botan_project:botan:*:*:*:*:*:*:*:* |
| fedoraproject | fedora | 34 | cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| mozilla | thunderbird | < 91.12.0 | cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://eprint.iacr.org/2021/923 | Technical Description Third Party Advisory |
| https://github.com/randombit/botan/pull/2790 | Patch Third Party Advisory |
| 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/ | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/ | |
| https://security.gentoo.org/glsa/202208-14 | Third Party Advisory |