openssl_encrypt before 1.4.0 imports Python's non-cryptographic 'random' module (Mersenne Twister PRNG) at line 15 of openssl_encrypt/modules/pqc.py. No direct calls to random.* were present in the code, so no cryptographic operation is currently affected; however, the import creates a hazard that future code could inadvertently use random.randint() instead of a cryptographically secure alternative (secrets/os.urandom), producing predictable values since the Mersenne Twister state can be recovered from approximately 624 outputs. Fixed by removing the import in 1.4.0.
CVE-2026-74887
This medium-severity CVE scores 5.9 under NVD CVSS v3. EPSS exploit probability: 0.3% (20th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.9
- EG Score
- 5.9MEDIUMmedium confidence
- EG Risk
- 27EG Risk 27/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity59% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.3%
- EPSS %ILE
- 20th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
August 17, 2026
Last Modified
October 1, 2026
Advisory Details (2)
Auto-updated Aug 17, 2026openssl_encrypt before 1.4.0 Insecure Random Import in PQC Module | Advisories | VulnCheck
https://www.vulncheck.com/advisories/openssl-encrypt-before-insecure-random-import-in-pqc-moduleNon-cryptographic random module imported in PQC crypto module · Advisory · jahlives/openssl_encrypt · GitHub
https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-cx72-m6xj-3vf6Vendor Advisories for CVE-2026-74887(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| openssl-encrypt | 0.2.2 ... 1.4.0b8 (44 versions) |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 15× in last 7d / 73× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 191 total refreshes for this CVE.
- 2026-10-04 23:22 UTCEPSS rescore
- 2026-10-04 21:51 UTCGHSA enrichment
- 2026-10-03 17:50 UTCEG score recompute
- 2026-10-03 17:50 UTCGHSA enrichment
- 2026-10-03 14:26 UTCEPSS rescore
- 2026-10-02 16:09 UTCEG score recompute
- 2026-10-02 16:09 UTCGHSA enrichment
- 2026-10-01 19:50 UTCEPSS rescore
- 2026-10-01 15:29 UTCGHSA enrichment
- 2026-10-01 10:45 UTCEG score recompute
- 2026-10-01 10:45 UTCGHSA enrichment
- 2026-09-30 10:03 UTCEG score recompute
- 2026-09-30 10:03 UTCGHSA enrichment
- 2026-09-29 15:24 UTCEPSS rescore
- 2026-09-28 13:52 UTCEPSS rescore
- 2026-09-28 08:58 UTCEG score recompute
- 2026-09-28 08:58 UTCGHSA enrichment
- 2026-09-27 13:48 UTCEPSS rescore
- 2026-09-27 08:18 UTCEG score recompute
- 2026-09-27 08:18 UTCGHSA enrichment
- 2026-09-26 15:59 UTCEPSS rescore
- 2026-09-26 00:28 UTCEPSS rescore
- 2026-09-25 02:11 UTCEG score recompute
- 2026-09-25 02:11 UTCGHSA enrichment
- 2026-09-24 14:04 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-23 21:21 UTCEG score recompute
- 2026-09-23 21:21 UTCGHSA enrichment
- 2026-09-23 17:54 UTCEPSS rescore
- 2026-09-22 20:42 UTCEG score recompute
- 2026-09-22 20:42 UTCGHSA enrichment
- 2026-09-22 16:01 UTCEPSS rescore
- 2026-09-21 21:09 UTCEPSS rescore
- 2026-09-21 16:19 UTCEG score recompute
- 2026-09-21 16:19 UTCGHSA enrichment
- 2026-09-20 20:16 UTCEPSS rescore
- 2026-09-20 15:28 UTCEG score recompute
- 2026-09-20 15:28 UTCGHSA enrichment
- 2026-09-19 14:38 UTCEG score recompute
- 2026-09-19 14:38 UTCGHSA enrichment
- 2026-09-18 19:28 UTCEPSS rescore
- 2026-09-18 13:58 UTCEG score recompute
- 2026-09-18 13:58 UTCGHSA enrichment
- 2026-09-17 13:14 UTCEG score recompute
- 2026-09-17 13:14 UTCGHSA enrichment
- 2026-09-16 14:08 UTCEPSS rescore
- 2026-09-16 12:25 UTCEG score recompute
- 2026-09-16 12:25 UTCGHSA enrichment
- 2026-09-16 05:15 UTCEPSS rescore
- 2026-09-15 11:45 UTCEG score recompute
- 2026-09-15 11:45 UTCGHSA enrichment
- 2026-09-15 03:12 UTCEPSS rescore
- 2026-09-14 10:08 UTCEG score recompute
- 2026-09-14 10:08 UTCGHSA enrichment
- 2026-09-13 09:05 UTCEG score recompute
- 2026-09-13 09:05 UTCGHSA enrichment
- 2026-09-12 15:02 UTCEPSS rescore
- 2026-09-12 08:25 UTCEG score recompute
- 2026-09-12 08:25 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 07:44 UTCEG score recompute
- 2026-09-11 07:44 UTCGHSA enrichment
- 2026-09-10 09:35 UTCEPSS rescore
- 2026-09-10 07:03 UTCGHSA enrichment
- 2026-09-09 06:24 UTCEG score recompute
- 2026-09-09 06:24 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-08 05:44 UTCEG score recompute
- 2026-09-08 05:44 UTCGHSA enrichment
- 2026-09-07 04:44 UTCEG score recompute
- 2026-09-07 04:44 UTCGHSA enrichment
- 2026-09-06 13:48 UTCEPSS rescore
- 2026-09-06 01:13 UTCEG score recompute
- 2026-09-06 01:13 UTCGHSA enrichment
- 2026-09-05 00:14 UTCEG score recompute
- 2026-09-05 00:14 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-03 22:54 UTCGHSA enrichment
- 2026-09-02 22:11 UTCEG score recompute
- 2026-09-02 22:11 UTCGHSA enrichment
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 16:43 UTCEG score recompute
- 2026-09-01 16:43 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 16:01 UTCEG score recompute▲ 2.20
- 2026-08-31 16:01 UTCGHSA enrichment
- 2026-08-31 16:00 UTCNVD updateCVSS v3 → 5.9 · severity → MEDIUM
- 2026-08-31 15:14 UTCEG score recompute
- 2026-08-31 15:13 UTCGHSA enrichment
- 2026-08-30 19:18 UTCEPSS rescore
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-28 20:56 UTCEG score recompute
- 2026-08-28 20:55 UTCGHSA enrichment
- 2026-08-28 19:55 UTCEG score recompute▼ 5.60
- 2026-08-28 19:54 UTCGHSA enrichment
- 2026-08-28 19:36 UTCMITRE cvelistV5CVSS v3 → 3.7 · CVSS v4 → 6.3 · severity → LOW
- 2026-08-28 12:10 UTCGHSA enrichment
Related CVEs(same product + same CWE)
Same product
10 shownPyPI:openssl-encrypt
Frequently asked(5)
What is CVE-2026-74887?
When was CVE-2026-74887 disclosed?
Is CVE-2026-74887 actively exploited?
What is the CVSS score of CVE-2026-74887?
How do I remediate CVE-2026-74887?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-74887
Is Your Infrastructure Affected by CVE-2026-74887?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.