CVE-2012-2417

CVE-2012-2417 is a medium-severity vulnerability in Dlitz Pycrypto with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.

Key facts

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.

Frequently asked questions

What is CVE-2012-2417?
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.
How severe is CVE-2012-2417?
CVE-2012-2417 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2012-2417 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2417?
CVE-2012-2417 primarily affects Dlitz Pycrypto. In total, 21 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-2417?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-2417 published?
CVE-2012-2417 was published on 2012-06-17 and last updated on 2026-06-16.

References

Affected products (21)

More vulnerabilities in Dlitz Pycrypto

All CVEs affecting Dlitz Pycrypto →

Other CWE-310 (Cryptographic Issues) vulnerabilities

Browse all CWE-310 (Cryptographic Issues) vulnerabilities →