CVE-2021-40529
publishedbotan: ElGamal implementation allows plaintext recovery
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.14 | botan | Fixed | 2.17.3-r3 | Package fix record |
| SUSE / openSUSE | SLE-15-SP2 | MozillaThunderbirdx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| Alpine Linux | v3.15 | botan | Fixed | 2.18.1-r3 | Package fix record |
| Alpine Linux | v3.16 | botan | Fixed | 2.18.1-r3 | Package fix record |
| Alpine Linux | v3.17 | botan | Fixed | 2.18.1-r3 | Package fix record |
| Alpine Linux | v3.18 | botan | Fixed | 2.18.1-r3 | Package fix record |
| Alpine Linux | v3.19 | botan | Fixed | 2.18.1-r3 | Package fix record |
Show 62 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.20 | botan | Fixed | 2.18.1-r3 | Package fix record |
| Alpine Linux | v3.21 | botan | Fixed | 2.18.1-r3 | Package fix record |
| SUSE / openSUSE | SLE-15-SP2 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| SUSE / openSUSE | SLE-15-SP2 | MozillaThunderbird-translations-otherx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbirdx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| SUSE / openSUSE | SLE-15-SP3 | MozillaThunderbird-translations-otherx86_64 | Advisory build | 91.4.0-8.45.2 | SUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | MozillaThunderbirdx86_64 | Advisory build | 91.4.0-lp152.2.52.1 | OPENSUSE-SU-2021:1635-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 91.4.0-lp152.2.52.1 | OPENSUSE-SU-2021:1635-1 |
| SUSE / openSUSE | openSUSE-Leap-15.2 | MozillaThunderbird-translations-otherx86_64 | Advisory build | 91.4.0-lp152.2.52.1 | OPENSUSE-SU-2021:1635-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbirdaarch64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbirdppc64le | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbirds390x | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbirdx86_64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-commonaarch64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-commonppc64le | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-commons390x | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-commonx86_64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-otheraarch64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-otherppc64le | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-others390x | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | MozillaThunderbird-translations-otherx86_64 | Advisory build | 91.4.0-8.45.2 | OPENSUSE-SU-2021:4150-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botanaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botanppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botans390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botanx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docs390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | Botan-docx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbirdaarch64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbirdppc64le | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbirds390x | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbirdx86_64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-commonaarch64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-commonppc64le | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-commons390x | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-commonx86_64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-otheraarch64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-otherppc64le | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-others390x | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | MozillaThunderbird-translations-otherx86_64 | Advisory build | 91.4.0-1.1 | OPENSUSE-SU-2024:11670-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18aarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18ppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18s390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18x86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18-32bitaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18-32bitppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18-32bits390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-2-18-32bitx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devels390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-develx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devel-32bitaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devel-32bitppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devel-32bits390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libbotan-devel-32bitx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanaarch64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanppc64le | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botans390x | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python3-botanx86_64 | Advisory build | 2.18.2-1.1 | OPENSUSE-SU-2024:11661-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- https://eprint.iacr.org/2021/923
- https://github.com/randombit/botan/pull/2790
- https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1
- https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2
- FEDORA-2021-8d51cac49f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/
- FEDORA-2021-14b0d97496 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/
- GLSA-202208-14 https://security.gentoo.org/glsa/202208-14
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e1b750c4fce639a31d2c4bf7b460a32bb8478258e8ec9798f41cdb68f0acdba4
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record