cve.bz

CVE-2012-2417 dlitz pycrypto: Cryptographic Issues

no score yetExploit referenceEPSS 2.4%Fix available

dlitz pycrypto: no CVSS score yet. EPSS 2.4% estimated probability of exploitation activity in the next 30 days. Fixed in pycrypto 2.6.

On this page
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.
EPSS
2.4% (unchanged from 2.4% a week ago; 2.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 84th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-310 Cryptographic Issues
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2012-2417 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2012-2417?via=ask-ai-copy and https://cve.bz/cve/CVE-2012-2417?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2012-2417 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
dlitz:pycryptothrough 2.5
dlitz:pycrypto1.0.0
dlitz:pycrypto1.0.1
dlitz:pycrypto1.0.2
dlitz:pycrypto1.1:alpha2
dlitz:pycrypto1.9:alpha1
dlitz:pycrypto1.9:alpha2
dlitz:pycrypto1.9:alpha3
dlitz:pycrypto1.9:alpha4
dlitz:pycrypto1.9:alpha5
dlitz:pycrypto1.9:alpha6
dlitz:pycrypto2.0
dlitz:pycrypto2.0.1
dlitz:pycrypto2.1.0
dlitz:pycrypto2.1.0:alpha1
dlitz:pycrypto2.1.0:alpha2
dlitz:pycrypto2.1.0:beta1
dlitz:pycrypto2.2
dlitz:pycrypto2.3
dlitz:pycrypto2.4
dlitz:pycrypto2.4.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v367-p58w-98h5PyPIpycrypto<2.62.6
PYSEC-2012-16PyPIpycrypto<2.62.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0python-crypto2.1.0-2+squeeze1DSA-2502-1

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6python-cryptoWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2012-2417.

References

Check your stackJSON