CVEvulnerability
CVE-2018-6829
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-02-07
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-327
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.
Affected configurations
• gnupg libgcrypt (<= 1.8.2)
Related
Weakness · CWE (1)
- CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness
References
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal Third Party Advisory
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal/wiki Exploit, Third Party Advisory
- https://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.html Issue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.html www.oracle.com
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal Third Party Advisory
- https://github.com/weikengchen/attack-on-libgcrypt-elgamal/wiki Exploit, Third Party Advisory
- https://lists.gnupg.org/pipermail/gcrypt-devel/2018-February/004394.html Issue Tracking, Third Party Advisory
- https://www.oracle.com/security-alerts/cpujan2020.html www.oracle.com