All reports
Medium

PyCrypto makes Use of Insufficiently Random Values

Affected versions

Version ranges need review.

Affected versions
< 2.6
Fixed version
2.6
Affected versions
<2.6
Fixed version
2.6
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2012-2417

Probability of exploitation in the next 30 days: 2.36%

FIRST EPSS · 2026-11-20

Description

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.

Links