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.2%, top 92% of all CVEs by exploit prediction. 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
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.9
- EG Score
- 5.9(medium)
- EG Risk
- 27(Track)EG Risk 27/100SSVC: Track
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%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 8%
- KEV
- Not listed
Published
August 17, 2026
Last Modified
August 31, 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 | Fixed in | Dependents |
|---|---|---|---|
| openssl-encrypt | 0.2.2 ... 1.4.0b8 (44 versions) | 1.4.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 19× in last 7d / 122× 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 152 total refreshes for this CVE.
- 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
Show 75 moreShow fewer
- 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
- 2026-08-28 08:11 UTCGHSA enrichment
- 2026-08-28 03:38 UTCGHSA enrichment
- 2026-08-27 23:39 UTCGHSA enrichment
- 2026-08-27 19:26 UTCGHSA enrichment
- 2026-08-27 15:01 UTCEG score recompute
- 2026-08-27 15:01 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 11:02 UTCGHSA enrichment
- 2026-08-27 07:01 UTCGHSA enrichment
- 2026-08-27 01:59 UTCGHSA enrichment
- 2026-08-26 22:01 UTCGHSA enrichment
- 2026-08-26 18:01 UTCGHSA enrichment
- 2026-08-26 15:20 UTCEG score recompute
- 2026-08-26 15:20 UTCGHSA enrichment
- 2026-08-26 14:47 UTCEPSS rescore
- 2026-08-26 11:17 UTCGHSA enrichment
- 2026-08-26 07:14 UTCGHSA enrichment
- 2026-08-26 03:15 UTCGHSA enrichment
- 2026-08-25 23:12 UTCGHSA enrichment
- 2026-08-25 19:06 UTCGHSA enrichment
- 2026-08-25 15:08 UTCGHSA enrichment
- 2026-08-25 11:08 UTCGHSA enrichment
- 2026-08-25 07:09 UTCGHSA enrichment
- 2026-08-25 03:09 UTCGHSA enrichment
- 2026-08-24 23:10 UTCGHSA enrichment
- 2026-08-24 19:11 UTCGHSA enrichment
- 2026-08-24 15:13 UTCEG score recompute
- 2026-08-24 15:12 UTCGHSA enrichment
- 2026-08-24 14:18 UTCEPSS rescore
- 2026-08-24 11:14 UTCEG score recompute
- 2026-08-24 11:14 UTCGHSA enrichment
- 2026-08-24 07:15 UTCGHSA enrichment
- 2026-08-24 03:10 UTCGHSA enrichment
- 2026-08-23 23:11 UTCGHSA enrichment
- 2026-08-23 19:12 UTCGHSA enrichment
- 2026-08-23 15:13 UTCGHSA enrichment
- 2026-08-23 11:14 UTCGHSA enrichment
- 2026-08-23 07:15 UTCGHSA enrichment
- 2026-08-23 03:16 UTCEG score recompute
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.