Skip to content
OpenAdvisories
Unscored CVE-2018-6829 EUVD-2018-18576GHSA-wcf7-2f92-j5mv

cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers …

Published Feb 7, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

cipher/elgamal.c in Libgcrypt through 1.8.2, when used to encrypt messages directly, improperly encodes plaintexts, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for Libgcrypt's ElGamal implementation.

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 gnupg1 +1 No fix yet —
Debian 13 gnupg1 +1 No fix yet —
Debian 12 gnupg1 +1 No fix yet —

References