CVE-2018-6594

python-crypto: Weak ElGamal key parameters in PublicKey/ElGamal.py allow attackers to obtain sensitive information by reading ciphertext

Published Feb 3, 2018 CVSS 3.0 · 7.5 High EPSS 2.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics epss

{'score': 0.00469}

epss

{'score': 0.00549}

Type Values Removed Values Added
Metrics epss

{'score': 0.00639}

epss

{'score': 0.00469}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 6:10 AM
Reserved
Feb 2, 2018, 12:00 AM
Status
Modified
Published
Feb 3, 2018, 3:29 PM
Modified
Jun 17, 2026, 2:02 AM
Severity
Moderate
Public date
Feb 3, 2018, 12:00 AM