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.

Project Subscriptions

Vendors Products
Canonical Subscribe
Ubuntu Linux Subscribe
Debian Linux Subscribe
Pycrypto Subscribe
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

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}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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

Reserved: 2018-02-02T00:00:00

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