CVE-2018-6594

unknown
Published 2018-07-12 · Modified 2023-11-08
CVSS v3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-6594

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-6594.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed3.4.11-1
debian debianbullseyefixed3.4.11-1
debian debianforkyfixed3.4.11-1
debian debiansidfixed3.4.11-1
debian debiantrixiefixed3.4.11-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIpycrypto<=2.6.1
python PyPIpycrypto

References

Verify integrity in audit chain (admin only). AS-IS.