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.
Published: 2018-02-03
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-1283-1 python-crypto security update
Debian DLA Debian DLA DLA-1283-2 python-crypto security update
EUVD 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 Github GHSA GHSA-6528-wvf6-f6qg Pycrypto generates weak key parameters
Ubuntu USN Ubuntu USN USN-3616-1 Python Crypto vulnerability
Ubuntu USN Ubuntu USN USN-3616-2 Python Crypto vulnerability
History

Mon, 14 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00469}

epss

{'score': 0.00549}


Fri, 11 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00639}

epss

{'score': 0.00469}


Subscriptions

Canonical Ubuntu Linux
Debian Debian Linux
Dlitz Pycrypto
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T06:10:10.652Z

Reserved: 2018-02-02T00:00:00.000Z

Link: CVE-2018-6594

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-02-03T15:29:00.653

Modified: 2024-11-21T04:10:57.897

Link: CVE-2018-6594

cve-icon Redhat

Severity : Moderate

Publid Date: 2018-02-03T00:00:00Z

Links: CVE-2018-6594 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses