Back
CVE-2018-6594
lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain…
High7.5EPSS 2.0%
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 2.0% · top 19% of all CVEs (2 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIpycryptoGHSA-6528-wvf6-f6qg (opens in a new tab)
References (6)
- https://github.com/TElgamal/attack-on-pycrypto-elgamal (opens in a new tab)x_refsource_MISCx_transferred
- USN-3616-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- https://github.com/dlitz/pycrypto/issues/253 (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20180215 [SECURITY] [DLA 1283-1] python-crypto security update (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- USN-3616-2 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- GLSA-202007-62 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-6528-wvf6-f6qg (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .