CVEvulnerability
CVE-2018-6594
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-02-03
- 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-326
Description
lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, 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 PyCrypto's ElGamal implementation.
Affected configurations
• dlitz pycrypto (<= 2.6.1)
• debian debian linux 7.0
• canonical ubuntu linux 12.04
• canonical ubuntu linux 14.04
• canonical ubuntu linux 16.04
• canonical ubuntu linux 17.10
Related
Weakness · CWE (1)
- CWE-326 Inadequate Encryption Strength weakness
References
- https://github.com/TElgamal/attack-on-pycrypto-elgamal Third Party Advisory
- https://github.com/dlitz/pycrypto/issues/253 Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202007-62 security.gentoo.org
- https://usn.ubuntu.com/3616-1/ Third Party Advisory
- https://usn.ubuntu.com/3616-2/ Third Party Advisory
- https://github.com/TElgamal/attack-on-pycrypto-elgamal Third Party Advisory
- https://github.com/dlitz/pycrypto/issues/253 Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202007-62 security.gentoo.org
- https://usn.ubuntu.com/3616-1/ Third Party Advisory
- https://usn.ubuntu.com/3616-2/ Third Party Advisory