VULNERABILITY INTELLIGENCE

CVE-2018-6594

CVSS score7.5 HIGH
EPSS probability2.03%
CISA KEVNot currently listed
Published2018-02-03
Last modified2026-06-17
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Weakness classification

  • CWE-326: Inadequate Encryption Strength

Primary references