Every CVE Search/ Get API key

CVE-2013-1445

PyCrypto does not properly reseed PRNG before allowing access

4.3 MediumFix available

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

1.75%Up 0.8 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
pycrypto
PyPI
before 2.6.1
2.6.1
python-crypto
Debian: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-crypto
Debian:7
before 2.6-4+deb7u1, plus listed versions
2.6-4
2.6-4+deb7u1
pycrypto
PyPI
before 2.6.1, plus listed versions
1.9a21.9a51.9a62.02.0.1
Show 7 moreShow less
2.1.02.22.32.42.4.12.52.6
2.6.1
python-pycrypto
Mageia:2
before 2.3-2.2.mga2
2.3-2.2.mga2
python-pycrypto
Mageia:3
before 2.6-2.1.mga3
2.6-2.1.mga3
pycrypto
PyPI
before 2.6.1, plus listed versions
1.9a21.9a51.9a62.02.0.1
Show 22 moreShow less
2.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

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE 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

Show 6 moreShow less
MoveEnter Open