CVE-2018-6594: canonical ubuntu_linux Inadequate Encryption Strength
Vulnerability summary
CVE-2018-6594 is a high (CVSS 7.5) Inadequate Encryption Strength vulnerability in canonical ubuntu_linux. EPSS estimates a 2.07% chance of exploitation in the next 30 days, higher than 82% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 03-02-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.07%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
Increase +0.04 pp
From 2.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPycrypto
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- pycryptodome< 3.4.11-1
- debian_linuxEOL7.0
Mageia2 products
- python-pycrypto< 2.6.1-6.2.mga5
- python-pycrypto< 2.6.1-9.1.mga6
Ubuntu2 products
- pycryptodome< 3.4.7-1ubuntu1
- python-crypto< 2.6.1-4ubuntu0.3 | < 2.6.1-6ubuntu0.16.04.3 | < 2.6.1-8ubuntu2
Canonical1 product
- ubuntu_linuxEOL12.04 | 14.04 | 16.04 | 17.10
Dlitz1 product
- pycrypto≤ 2.6.1
PyPI1 product
- pycrypto≤ 2.6.1 | All versions (No fix recorded)
6 vendors · 9 products
References
20 links- github.com/dlitz/pycrypto/issues/253X Refsource MISCExploitIssue TrackingThird Party AdvisoryREPORTWEB
- lists.debian.org/debian-lts-announce/2018/02/msg00018.htmlMailing ListX Refsource MLISTThird Party AdvisoryWEB
Show all 20 references
- github.com/dlitz/pycryptoPACKAGE