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.
Metrics
CVSS 3.0 7.5/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/weikengchen/attack-on-libgcrypt-elgamalThird Party Advisory
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal/wikiExploit, Third Party Advisory
- https://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.htmlIssue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://github.com/weikengchen/attack-on-libgcrypt-elgamalThird Party Advisory
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal/wikiExploit, Third Party Advisory
- https://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.htmlIssue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.html
Timeline
- Published
- Feb 7, 2018
- Last modified
- Jun 17, 2026
- NVD status
- Modified