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
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-1283-1 | python-crypto security update |
Debian DLA |
DLA-1283-2 | python-crypto security update |
EUVD |
EUVD-2018-0119 | 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. |
Github GHSA |
GHSA-6528-wvf6-f6qg | Pycrypto generates weak key parameters |
Ubuntu USN |
USN-3616-1 | Python Crypto vulnerability |
Ubuntu USN |
USN-3616-2 | Python Crypto vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 14 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Fri, 11 Jul 2025 13:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T06:10:10.652Z
Reserved: 2018-02-02T00:00:00
Link: CVE-2018-6594
No data.
Status : Modified
Published: 2018-02-03T15:29:00.653
Modified: 2024-11-21T04:10:57.897
Link: CVE-2018-6594
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Github GHSA
Ubuntu USN