The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the…
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | pycrypto (PyPI) | before 2.6.1 | 2.6.1 | Patch available | GHSA-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
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:dlitz:pycrypto:*:*:*:*:*:*:*:* | up to 2.6 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:1.0.0:*:*:*:*:*:*:* | 1.0.0 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:1.0.1:*:*:*:*:*:*:* | 1.0.1 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:1.0.2:*:*:*:*:*:*:* | 1.0.2 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.0:*:*:*:*:*:*:* | 2.0 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.0.1:*:*:*:*:*:*:* | 2.0.1 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.1.0:*:*:*:*:*:*:* | 2.1.0 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.2:*:*:*:*:*:*:* | 2.2 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.3:*:*:*:*:*:*:* | 2.3 | Vulnerable | Dlitz |
| cpe:2.3:a:dlitz:pycrypto:2.4:*:*:*:*:*:*:* | 2.4 | Vulnerable | Dlitz |
- 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
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
- 2026-10-02 Threatist record created from CVE-2013-1445
- 2026-10-03 Alias added: GHSA-x377-f64p-hf5j
References
Exploit 2
More Dlitz Pycrypto vulnerabilities
- 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
- CVE-2013-1445 · CVE Program
- CVE-2013-1445 · NVD
- FIRST EPSS
- GHSA-x377-f64p-hf5j · GitHub Advisory Database · CC BY 4.0
- CVE-2013-1445 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences