CVE-2013-1445
PyCrypto does not properly reseed PRNG before allowing access
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2013-1445- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:P/I:N/A:N - Weakness
- CWE-310
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2013-1445- Updated
- 2026-11-02
EUVDEUVD-2013-0027 No score
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.
- Record
EUVD-2013-0027- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x377-f64p-hf5j
8.7
PyCrypto does not properly reseed PRNG before allowing access
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.
- Record
GHSA-x377-f64p-hf5j- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-332
- Updated
- 2026-11-02
OSVGHSA-x377-f64p-hf5j
8.7
PyCrypto does not properly reseed PRNG before allowing access
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.
- Record
GHSA-x377-f64p-hf5j- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-332
- Updated
- 2026-11-02
OSVMGASA-2013-0319 No score
Updated python-pycrypto packages fix CVE-2013-1445
Updated python-pycrypto package fixes security vulnerability:
In PyCrypto before v2.6.1, the Crypto.Random pseudo-random number generator (PRNG) exhibits a race condition that may cause it to generate the same 'random' output in multiple processes that are forked from each other. Depending on the application, this could reveal sensitive information or cryptographic keys to remote attackers (CVE-2013-1445).
- Record
MGASA-2013-0319- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10346-1 No score
python-pycrypto-2.6.1-4.8 on GA media
These are all security issues fixed in the python-pycrypto-2.6.1-4.8 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10346-1- Updated
- 2026-11-02
OSVPYSEC-2013-29 No score
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.
- Record
PYSEC-2013-29- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pycryptoPyPI |
before 2.6.1 | 2.6.1 |
python-cryptoDebian:6.0 |
before 2.1.0-2+squeeze2, plus listed versions 2.1.0-22.1.0-2+squeeze1 |
2.1.0-2+squeeze2 |
python-cryptoDebian:7 |
before 2.6-4+deb7u1, plus listed versions 2.6-4 |
2.6-4+deb7u1 |
pycryptoPyPI |
before 2.6.1, plus listed versions 1.9a21.9a51.9a62.02.0.1 Show 7 moreShow less2.1.02.22.32.42.4.12.52.6 |
2.6.1 |
python-pycryptoMageia:2 |
before 2.3-2.2.mga2 | 2.3-2.2.mga2 |
python-pycryptoMageia:3 |
before 2.6-2.1.mga3 | 2.6-2.1.mga3 |
pycryptoPyPI |
before 2.6.1, plus listed versions 1.9a21.9a51.9a62.02.0.1 Show 22 moreShow less2.1.02.22.32.42.4.12.52.6v2.6v2.5v2.4.1v2.4v2.3v2.2v2.1.0v2.1.0b1v2.1.0alpha2v2.1.0alpha1v1.9a5v1.9a4v1.9a3v1.9a2v1.9a1 |
2.6.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-1445 is a medium vulnerability (CVSS 4.3) in Dlitz Pycrypto, published October 15, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.75%, the 77th percentile. Fixed in pycrypto 2.6.1.
References
github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175
openwall.com/lists/oss-security/2013/10/17/3
debian.org/security/2013/dsa-2781
nvd.nist.gov/vuln/detail/CVE-2013-1445
github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2013-29.yaml
github.com/advisories/GHSA-x377-f64p-hf5j