python-crypto: Insecure ElGamal key generation
Published Jun 17, 2012
6.9
MEDIUMCVSS 4.0
EPSS 2.39%
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.
Affected products
No data.
- ≤ 2.5
- 1.0.0
- 1.0.1
- 1.0.2
- 1.1
- 1.9
- 1.9
- 1.9
- 1.9
- 1.9
- 1.9
- 2.0
- 2.0.1
- 2.1.0
- 2.1.0
- 2.1.0
- 2.1.0
- 2.2
- 2.3
- 2.4
- 2.4.1
No data.
Red Hat Enterprise Linux 6
python-crypto
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | python-crypto | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.39% (0.02393) | 83.37th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.73% (0.02727) | 84.10th | v5 (v2026.06.15) |
| Mar 30, 2025 | 3.82% (0.03825) | 87.06th | v4 (v2025.03.14) |
| Mar 29, 2025 | 8.89% (0.08890) | 87.43th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.82% (0.03825) | 87.36th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.44% (0.00437) | 75.56th | v3 (v2023.03.01) |
| Jul 6, 2024 | 0.44% (0.00437) | 74.92th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.43% (0.00430) | 73.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.43% (0.00430) | 70.48th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (22)
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081713.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081759.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/081789.html vendor-advisoryx_refsource_FEDORA
- http://secunia.com/advisories/49263 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://www.debian.org/security/2012/dsa-2502 vendor-advisoryx_refsource_DEBIAN
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:117 vendor-advisoryx_refsource_MANDRIVA
- http://www.openwall.com/lists/oss-security/2012/05/25/1 mailing-listx_refsource_MLIST
- http://www.osvdb.org/82279 vdb-entryx_refsource_OSVDB
- http://www.securityfocus.com/bid/53687 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2012-2417 Vendor Advisory
- https://bugs.launchpad.net/pycrypto/+bug/985164 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=825162 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75871 vdb-entryx_refsource_XF
- https://github.com/Legrandin/pycrypto/commit/9f912f13df99ad3421eff360d6a62d7dbec755c2 x_refsource_MISCExploitPatch
- https://github.com/advisories/GHSA-v367-p58w-98h5 Advisory
- https://github.com/dlitz/pycrypto/blob/373ea760f21701b162e8c4912a66928ee30d401a/ChangeLog x_refsource_CONFIRM
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2012-16.yaml
- https://hermes.opensuse.org/messages/15083589 vendor-advisoryx_refsource_SUSE
- https://nvd.nist.gov/vuln/detail/CVE-2012-2417
- https://web.archive.org/web/20140724111917/http://secunia.com/advisories/49263
- https://web.archive.org/web/20200228184120/http://www.securityfocus.com/bid/53687
- https://www.cve.org/CVERecord?id=CVE-2012-2417
Change history (0)
No recorded changes yet.