Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/pycrypto@1.9a6
purl pkg:pypi/pycrypto@1.9a6
Next non-vulnerable version None.
Latest non-vulnerable version None.
Risk 4.5
Vulnerabilities affecting this package (4)
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.
VCID-s32r-berz-qqhf
Aliases:
CVE-2012-2417
GHSA-v367-p58w-98h5
PYSEC-2012-16
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.
2.6
Affected by 3 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:54:42.076796+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.424511+00:00 GitLab Importer Affected by 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.338377+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.127346+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.772349+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.254053+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.320368+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.415379+00:00 GitLab Importer Affected by 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.912780+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.162865+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.107117+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.909241+00:00 GHSA Importer Affected by VCID-gg52-nkc5-4ff1 https://github.com/advisories/GHSA-6528-wvf6-f6qg 38.3.0
2026-04-02T23:18:44.510713+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.269300+00:00 GitLab Importer Affected by 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.650107+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.787073+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:01.992153+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:31.989342+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:05.992868+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.096343+00:00 GitLab Importer Affected by 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:45.987190+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.799429+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.539172+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.690357+00:00 PyPI Importer Affected by VCID-s32r-berz-qqhf https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:40:54.816333+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.346065+00:00 Pypa Importer Affected by VCID-s32r-berz-qqhf https://github.com/pypa/advisory-database/blob/main/vulns/pycrypto/PYSEC-2012-16.yaml 38.0.0