Live threats

All CVEs / Dlitz

CVE-2013-1445Dlitz Pycrypto

Medium 4.3 No auth needed

Priority
41
CVSS 2.0
4.3
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Oct 26, 2013
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-310
Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pycrypto.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pycrypto < 2.6.1 2.6.1 pip install "pycrypto>=2.6.1"
PyPI pycrypto < 2.6.1 2.6.1 pip install "pycrypto>=2.6.1"

Per OSV / GitHub Advisories (GHSA-x377-f64p-hf5j, PYSEC-2013-29). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
dlitzpycrypto≤ 2.6
dlitzpycrypto1.0.0
dlitzpycrypto1.0.1
dlitzpycrypto1.0.2
dlitzpycrypto2.0
dlitzpycrypto2.0.1
dlitzpycrypto2.1.0
dlitzpycrypto2.2
dlitzpycrypto2.3
dlitzpycrypto2.4
dlitzpycrypto2.4.1
dlitzpycrypto2.5

Official sources

References

Links published by the sources. Open them with care.