Improper Encoding in Libgcrypt's ElGamal Implementation Allows Ciphertext-Only Attacks

Improper Encoding in Libgcrypt's ElGamal Implementation Allows Ciphertext-Only Attacks

CVE-2018-6829 · MEDIUM Severity

AV:N/AC:L/AU:N/C:P/I:N/A:N

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.

Learn more about our Web Application Penetration Testing UK.