Read the docs
TI-2013-01262 Aliases CVE-2013-1445GHSA-x377-f64p-hf5j

The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the…

Priority LOW 24CWE-310Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Medium
Impact type
—
Confidentiality · integrity · availability
Partial · None · None
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

EPSS 0.01738 77th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed pycrypto (PyPI): 2.6.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—pycrypto (PyPI)before 2.6.12.6.1Patch availableGHSA-x377-f64p-hf5j
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • pycrypto (PyPI) Vendor— Affected before 2.6.1 Fixed in 2.6.1 Patch available GHSA-x377-f64p-hf5j

CPE configurations NVD · 12

CPEVersionsRoleVendor
cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:*up to 2.6VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:1.0.0:*:*:*:*:*:*:*1.0.0VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:1.0.1:*:*:*:*:*:*:*1.0.1VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:1.0.2:*:*:*:*:*:*:*1.0.2VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.0:*:*:*:*:*:*:*2.0VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.0.1:*:*:*:*:*:*:*2.0.1VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.1.0:*:*:*:*:*:*:*2.1.0VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.2:*:*:*:*:*:*:*2.2VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.3:*:*:*:*:*:*:*2.3VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.4:*:*:*:*:*:*:*2.4VulnerableDlitz
  • cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:* Versions up to 2.6 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:1.0.0:*:*:*:*:*:*:* Versions 1.0.0 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:1.0.1:*:*:*:*:*:*:* Versions 1.0.1 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:1.0.2:*:*:*:*:*:*:* Versions 1.0.2 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.0:*:*:*:*:*:*:* Versions 2.0 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.0.1:*:*:*:*:*:*:* Versions 2.0.1 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.1.0:*:*:*:*:*:*:* Versions 2.1.0 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.2:*:*:*:*:*:*:* Versions 2.2 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.3:*:*:*:*:*:*:* Versions 2.3 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.4:*:*:*:*:*:*:* Versions 2.4 Vulnerable ·Dlitz
Show 2 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:dlitz:pycrypto:2.4.1:*:*:*:*:*:*:*2.4.1VulnerableDlitz
cpe:2.3:a:dlitz:pycrypto:2.5:*:*:*:*:*:*:*2.5VulnerableDlitz
  • cpe:2.3:a:dlitz:pycrypto:2.4.1:*:*:*:*:*:*:* Versions 2.4.1 Vulnerable ·Dlitz
  • cpe:2.3:a:dlitz:pycrypto:2.5:*:*:*:*:*:*:* Versions 2.5 Vulnerable ·Dlitz

Remediation

  • Fix · GHSA-x377-f64p-hf5j pycrypto (PyPI) Fixed in 2.6.1 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Enterprise Linux 6

Timeline

  1. 2026-10-02 Threatist record created from CVE-2013-1445
  2. 2026-10-03 Alias added: GHSA-x377-f64p-hf5j

References

  • TI-2013-06111 Heap-based buffer overflow in the ALGnew function in block_templace.c in Python… CVSS 3.0CRITICAL 9.8
  • TI-2018-04861 lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key… CVSS 3.0HIGH 7.5
  • TI-2012-02143 PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal… CVSS 2.0MEDIUM 4.3

Sources