CVE-2018-6594 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dlitz/pycrypto/issues/253 | CVE | ExploitIssue TrackingThird Party Advisory |
| https://github.com/TElgamal/attack-on-pycrypto-elgamal | CVE | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html | CVE | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202007-62 | CVE | |
| https://usn.ubuntu.com/3616-1/ | CVE | Third Party Advisory |
| https://usn.ubuntu.com/3616-2/ | CVE | Third Party Advisory |
| https://github.com/dlitz/pycrypto/issues/253 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/TElgamal/attack-on-pycrypto-elgamal | [email protected] | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2018/02/msg00018.html | [email protected] | Mailing ListThird Party Advisory |
| https://security.gentoo.org/glsa/202007-62 | [email protected] | |
| https://usn.ubuntu.com/3616-1/ | [email protected] | Third Party Advisory |
| https://usn.ubuntu.com/3616-2/ | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-326 | Inadequate Encryption Strength | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| dlitz pycrypto | <= 2.6.1 |
CPE
Remediation
| |
| debian debian linux | 7.0 |
CPE
Remediation
| |
| canonical ubuntu linux | 12.04 14.04 16.04 17.10 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 31, 2020 | CVE Modified | [email protected] |
| Oct 3, 2019 | CWE Remap | [email protected] |
| Mar 1, 2019 | Modified Analysis | [email protected] |
| Apr 11, 2018 | CVE Modified | [email protected] |
| Apr 5, 2018 | CVE Modified | [email protected] |
| Mar 13, 2018 | Initial Analysis | [email protected] |
| Feb 16, 2018 | CVE Modified | [email protected] |
| Feb 4, 2018 | CVE Modified | [email protected] |