libgcrypt20: The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintextrecovery because, during interaction between two...
CVE-2021-40528 is fixed in 4 products on 1 platform, first by libgcrypt20 1.8.1-4ubuntu1.3, released September 6, 2021. It is not reported as exploited. Patch Radar priority: Routine.
The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintextrecovery because, during interaction between two cryptographic libraries, acertain dangerous combination of the prime defined by the receiver's publickey, the generator defined by the receiver's public key, and the sender'sephemeral exponents can lead to a cross-configuration attack againstOpenPGP.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| libgcrypt · RHEL 8 | 0:1.8.5-7.el8_6 | RHSA-2022:5311 | Jun 30, 2022 |
| libgcrypt · almalinux 8 | 1.8.5-7.el8_6 | ALSA-2022:5311 | Jun 30, 2022 |
| libgcrypt · ol 8 | 0:1.8.5-7.el8_6 | ELSA-2022-5311 | Jul 1, 2022 |
| libgcrypt · rocky 8 | 0:1.8.5-7.el8_6 | RLSA-2022:5311 | Jun 28, 2022 |
| libgcrypt-bin · Ubuntu 25.04 (plucky) | 1.8.7-5ubuntu2 | libgcrypt-bin 1.8.7-5ubuntu2 | Jan 16, 2026 |
| libgcrypt-devel · RHEL 8 | 0:1.8.5-7.el8_6 | RHSA-2022:5311 | Jun 30, 2022 |
| libgcrypt-devel · almalinux 8 | 1.8.5-7.el8_6 | ALSA-2022:5311 | Jun 30, 2022 |
| libgcrypt-devel · ol 8 | 0:1.8.5-7.el8_6 | ELSA-2022-5311 | Jul 1, 2022 |
| libgcrypt20 · Ubuntu 18.04.6 LTS (bionic) | 1.8.1-4ubuntu1.3 | libgcrypt20 1.8.1-4ubuntu1.3 | Sep 6, 2021 |
| libgcrypt20 · Ubuntu 20.04 LTS (focal) | 1.8.5-5ubuntu1.1 | libgcrypt20 1.8.5-5ubuntu1.1 | Sep 6, 2021 |
| libgcrypt20 · Ubuntu 22.04.1 LTS (jammy) | 1.8.7-5ubuntu2 | libgcrypt20 1.8.7-5ubuntu2 | Sep 6, 2021 |
| libgcrypt20 · Ubuntu 24.10 (oracular) | 1.8.7-5ubuntu2 | libgcrypt20 1.8.7-5ubuntu2 | Jan 16, 2026 |
| libgcrypt20 · Ubuntu 25.04 (plucky) | 1.8.7-5ubuntu2 | libgcrypt20 1.8.7-5ubuntu2 | Jan 16, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.