Loading advisory.
Loading advisory.
PyCrypto makes Use of Insufficiently Random Values
PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal scheme to generate a key, which reduces the signature space or public key space and makes it easier for attackers to conduct brute force attacks to obtain the private key.
Published 2012-06-17 01:00 UTC · Modified 2026-06-10 17:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|
| pycrypto | PyPI | < 2.6 git commits in https://github.com/Legrandin/pycrypto: < 9f912f13df99ad3421eff360d6a62d7dbec755c2 versions 1.9a2, 1.9a5, 1.9a6, 2.0, 2.0.1, 2.1.0, 2.2, 2.3, 2.4, 2.4.1, 2.5, v2.3, v2.2, v2.1.0, v2.1.0b1, v2.1.0alpha2, v2.1.0alpha1, v1.9a5, v1.9a4, v1.9a3 and 2 more | 2.6, 9f912f13df99ad3421eff360d6a62d7dbec755c2 | pip install --upgrade 'pycrypto>=2.6'pip install --upgrade 'pycrypto>=9f912f13df99ad3421eff360d6a62d7dbec755c2' |
|---|
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.024 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.024 | first score | v2026.06.15 |