CVE-2021-40529Botan Project Botan
Medium 5.9 No auth needed
Follow: this CVE · Botan Project · Botan Project Botan We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Sep 6, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-327
- 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 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.
What to do
- Apply the vendor's security update for Botan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| botan_project | botan | ≤ 2.18.1 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| mozilla | thunderbird | < 91.12.0 |
Official sources
References
Links published by the sources. Open them with care.
- eprint.iacr.org Technical Description Third Party Advisory
- github.com Patch Third Party Advisory
- ibm.github.io Third Party Advisory
- ibm.github.io Exploit Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory