Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2012-2417

18
FAUCET Score

CVE-2012-2417 describes a vulnerability in PyCrypto versions prior to 2.6, where the ElGamal key generation process fails to produce cryptographically strong prime numbers, thereby reducing the effective signature or public key space. This weakness, rated with a CVSS score of 4.3 (Medium), allows attackers to more easily brute-force the private key due to the reduced complexity of the key space. Despite its potential impact on cryptographic security, there is no evidence of active exploitation, publicly available exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
<= 2.5CPE matchmatch criteria
cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:*
1.0.0CPE matchmatch criteria
cpe:2.3:a:dlitz:pycrypto:1.0.0:*:*:*:*:*:*:*
1.0.1CPE matchmatch criteria
cpe:2.3:a:dlitz:pycrypto:1.0.1:*:*:*:*:*:*:*
1.0.2CPE matchmatch criteria
cpe:2.3:a:dlitz:pycrypto:1.0.2:*:*:*:*:*:*:*
1.1CPE matchmatch criteria
cpe:2.3:a:dlitz:pycrypto:1.1:alpha2:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

4.3MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Exploitability Score
8.6
Impact Score
2.9
CvssVersion
2.0

Exploit Intelligence

EPSS Score
2.37%
Probability of exploitation in next 30 days
EPSS Percentile
82.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
This CVE's current EPSS score of 0.0237 is in the 71st percentile among its peer group of 19,953 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

github_advisorypatch availablevia nvd_reference
View patch
pippatch availablevia ghsa
Product: PyCryptoFixed in: 2.6
redhatend of lifevia redhat_api
Product: Red Hat Enterprise Linux 6Fixed in: python-crypto

Vendor Advisories (2)

pipGHSA-v367-p58w-98h5medium

PyCrypto makes Use of Insufficiently Random Values

May 17, 2022
redhatCVE-2012-2417Moderate

python-crypto: Insecure ElGamal key generation

Apr 18, 2012

References

lists.fedoraproject.org / pipermail/package-announce/2012-June/081713.html
lists.fedoraproject.org / pipermail/package-announce/2012-June/081759.html
lists.fedoraproject.org / pipermail/package-announce/2012-June/081789.html
bugs.launchpad.net / pycrypto/+bug/985164
secunia.com / advisories/49263
Vendor Advisory
exchange.xforce.ibmcloud.com / vulnerabilities/75871
github.com / dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog
github.com / Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2
ExploitPatch
hermes.opensuse.org / messages/15083589
debian.org / security/2012/dsa-2502
mandriva.com / security/advisories
openwall.com / lists/oss-security/2012/05/25/1
osvdb.org / 82279
securityfocus.com / bid/53687