Skip to content
OpenAdvisories
Unscored CVE-2021-40530 EUVD-2021-27705GHSA-p3r9-6fhw-hgv8

The ElGamal implementation in Crypto++ through 8.5 allows plaintext recovery because, during interaction between two cryptographic librarie…

Published Sep 6, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libcrypto++ 8.6.0-1 —
Debian 13 libcrypto++ 8.6.0-1 —
Debian 12 libcrypto++ 8.6.0-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libcrypto++ No fix yet —
Ubuntu 26.04 LTS libcrypto++ No fix yet —
Ubuntu 25.10 libcrypto++ No fix yet —
Ubuntu 24.04 LTS libcrypto++ No fix yet —
Ubuntu 22.04 LTS libcrypto++ No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libcrypto++ No fix yet —
Ubuntu 18.04 LTS libcrypto++ No fix yet —
Ubuntu Pro 16.04 LTS libcrypto++ No fix yet —
Ubuntu Pro 14.04 LTS libcrypto++ No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libcryptopp 8.6.0-1.1 openSUSE-SU-2024:10933-1

Advisories 1

References