Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/pycrypto@2.6
purl pkg:pypi/pycrypto@2.6
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 4.5
Vulnerabilities affecting this package (3)
Vulnerability Summary Fixed by
VCID-gg52-nkc5-4ff1
Aliases:
CVE-2018-6594
GHSA-6528-wvf6-f6qg
PYSEC-2018-97
lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCrypto's ElGamal implementation. There are no reported fixed by versions.
VCID-mrec-hnpq-jqdn
Aliases:
CVE-2013-1445
GHSA-x377-f64p-hf5j
PYSEC-2013-29
The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the pseudo-random number generator (PRNG) before allowing a child process to access it, which makes it easier for context-dependent attackers to obtain sensitive information by leveraging a race condition in which a child process is created and accesses the PRNG within the same rate-limit period as another process.
2.6.1
Affected by 2 other vulnerabilities.
VCID-qhem-k79n-akc6
Aliases:
CVE-2013-7459
GHSA-cq27-v7xp-c356
PYSEC-2017-94
Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py. There are no reported fixed by versions.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-s32r-berz-qqhf 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. CVE-2012-2417
GHSA-v367-p58w-98h5
PYSEC-2012-16

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:54:42.107210+00:00 GitLab Importer Affected by VCID-mrec-hnpq-jqdn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-1445.yml 38.4.0
2026-04-16T21:52:56.457150+00:00 GitLab Importer Fixing VCID-s32r-berz-qqhf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2012-2417.yml 38.4.0
2026-04-16T20:50:35.368352+00:00 GitLab Importer Affected by VCID-qhem-k79n-akc6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-7459.yml 38.4.0
2026-04-16T20:46:13.158601+00:00 GitLab Importer Affected by VCID-gg52-nkc5-4ff1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2018-6594.yml 38.4.0
2026-04-16T01:26:12.806345+00:00 GHSA Importer Affected by VCID-qhem-k79n-akc6 https://github.com/advisories/GHSA-cq27-v7xp-c356 38.4.0
2026-04-16T01:20:44.291934+00:00 GHSA Importer Affected by VCID-gg52-nkc5-4ff1 https://github.com/advisories/GHSA-6528-wvf6-f6qg 38.4.0
2026-04-11T23:10:00.353061+00:00 GitLab Importer Affected by VCID-mrec-hnpq-jqdn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-1445.yml 38.3.0
2026-04-11T23:08:32.428568+00:00 GitLab Importer Fixing VCID-s32r-berz-qqhf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2012-2417.yml 38.3.0
2026-04-11T22:01:13.947940+00:00 GitLab Importer Affected by VCID-qhem-k79n-akc6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-7459.yml 38.3.0
2026-04-11T21:56:59.195997+00:00 GitLab Importer Affected by VCID-gg52-nkc5-4ff1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2018-6594.yml 38.3.0
2026-04-11T12:55:31.143021+00:00 GHSA Importer Affected by VCID-qhem-k79n-akc6 https://github.com/advisories/GHSA-cq27-v7xp-c356 38.3.0
2026-04-11T12:49:00.957944+00:00 GHSA Importer Affected by VCID-gg52-nkc5-4ff1 https://github.com/advisories/GHSA-6528-wvf6-f6qg 38.3.0
2026-04-04T14:31:14.667538+00:00 GHSA Importer Fixing VCID-s32r-berz-qqhf https://github.com/advisories/GHSA-v367-p58w-98h5 38.1.0
2026-04-02T23:18:44.540648+00:00 GitLab Importer Affected by VCID-mrec-hnpq-jqdn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-1445.yml 38.1.0
2026-04-02T23:17:08.299914+00:00 GitLab Importer Fixing VCID-s32r-berz-qqhf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2012-2417.yml 38.1.0
2026-04-02T22:14:16.680326+00:00 GitLab Importer Affected by VCID-qhem-k79n-akc6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-7459.yml 38.1.0
2026-04-02T22:10:22.816283+00:00 GitLab Importer Affected by VCID-gg52-nkc5-4ff1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2018-6594.yml 38.1.0
2026-04-02T13:48:02.019975+00:00 GHSA Importer Affected by VCID-qhem-k79n-akc6 https://github.com/advisories/GHSA-cq27-v7xp-c356 38.1.0
2026-04-02T13:43:32.002254+00:00 GHSA Importer Affected by VCID-gg52-nkc5-4ff1 https://github.com/advisories/GHSA-6528-wvf6-f6qg 38.1.0
2026-04-01T17:39:06.023050+00:00 GitLab Importer Affected by VCID-mrec-hnpq-jqdn https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-1445.yml 38.0.0
2026-04-01T17:37:17.126935+00:00 GitLab Importer Fixing VCID-s32r-berz-qqhf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2012-2417.yml 38.0.0
2026-04-01T16:31:46.021705+00:00 GitLab Importer Affected by VCID-qhem-k79n-akc6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2013-7459.yml 38.0.0
2026-04-01T16:27:42.832283+00:00 GitLab Importer Affected by VCID-gg52-nkc5-4ff1 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/pycrypto/CVE-2018-6594.yml 38.0.0
2026-04-01T14:58:41.569347+00:00 PyPI Importer Affected by VCID-mrec-hnpq-jqdn https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T14:58:37.722415+00:00 PyPI Importer Fixing VCID-s32r-berz-qqhf https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T13:09:34.838011+00:00 GithubOSV Importer Fixing VCID-s32r-berz-qqhf https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-v367-p58w-98h5/GHSA-v367-p58w-98h5.json 38.0.0
2026-04-01T12:40:54.831338+00:00 Pypa Importer Affected by VCID-mrec-hnpq-jqdn https://github.com/pypa/advisory-database/blob/main/vulns/pycrypto/PYSEC-2013-29.yaml 38.0.0
2026-04-01T12:40:52.364990+00:00 Pypa Importer Fixing VCID-s32r-berz-qqhf https://github.com/pypa/advisory-database/blob/main/vulns/pycrypto/PYSEC-2012-16.yaml 38.0.0