CVE-2021-40530
publishedcryptopp: 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 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp-develaarch64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp-develppc64le | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp-devels390x | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp-develx86_64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0aarch64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0ppc64le | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0s390x | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0x86_64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0-32bitaarch64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0-32bitppc64le | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0-32bits390x | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcryptopp8_6_0-32bitx86_64 | Advisory build | 8.6.0-1.1 | OPENSUSE-SU-2024:10933-1 |
Description
The ElGamal implementation in Crypto++ through 8.5 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
6- https://eprint.iacr.org/2021/923
- 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-a381a721a9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/
- FEDORA-2021-8b14da0538 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/
- FEDORA-2021-6788250ea4 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ec6767d63c785bf2efabbd5de38874d7411b52660e36aff4dca7e73cfe7326fd
- Ingested
- 23 Sep 2026, 07:56:07 UTC
- Source record
- Official CVE record