Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-74887: openssl_encrypt before 1.4.0 imports Python's non-cryptographic 'random' module (Mersenne Twister PRNG) at lin

29
Routine
LOW 3.7REMOTEWATCHLISTUPGRADE

CVE-2026-74887 is a low-severity flaw (CVSS 3.7) affecting openssl encrypt. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 valu

Why this priority

  • Remotely exploitable, no login, no user action
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score3.7 (Low)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.3% (top 78%)
CISA exploited listNo
WeaknessCWE-338
Published2026-08-17
Last modified2026-08-31
Publisher (CNA): VulnCheck · Vendor: jahlives

Share: LinkedIn · X · Reddit

Last updated 2026-08-31 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

jahlives openssl encrypt UPGRADE
Affected: < 1.4.0
Fixed in: 1.4.0
Safe to downgrade to: no unaffected older release
1. Check installed version
pip show openssl-encrypt
2. UPGRADE to 1.4.0
pip install --upgrade "openssl-encrypt>=1.4.0"
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-74887?

openssl encrypt: upgrade to 1.4.0. Exact commands for each OS are on this page.

Is CVE-2026-74887 being exploited?

CVE-2026-74887 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-74887 affect?

CVE-2026-74887 affects openssl encrypt. Severity is low (CVSS 3.7). 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 cur

How urgent is CVE-2026-74887?

Priority 29/100. Remotely exploitable, no login, no user action; On your watchlist

Software pages

OpenSSL vulnerabilities · Python vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.