CVE-2026-74887
Last modified
CVE-2026-74887 is a none-severity vulnerability. 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. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jahlives | openssl_encrypt | < 1.4.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-74887?
How severe is CVE-2026-74887?
How do I fix CVE-2026-74887?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-74881openssl_encrypt versions before 1.4.0 configure CORS with al…6.5
- CVE-2026-74882openssl_encrypt versions before 1.4.0 contain an insecure de…7.5
- CVE-2026-74883openssl_encrypt versions before 1.4.0 contain a sandbox bypa…8.8
- CVE-2026-74884openssl_encrypt versions before 1.4.0 contain a path travers…7.5
- CVE-2026-74885openssl_encrypt versions before 1.4.0 contain a logging bug …3.6
- CVE-2026-74886openssl_encrypt versions before 1.4.0 contain a plugin sandb…9.8
- CVE-2026-74888openssl_encrypt versions before 1.4.0 use a non-standard PBK…7.5
- CVE-2026-74889openssl_encrypt versions before 1.4.0 use HKDF with no salt …9.8
- CVE-2026-7489CTMS developed by Sunnet has a SQL Injection vulnerability, …8.8
- CVE-2026-74890openssl_encrypt versions before 1.4.0 contain an authenticat…5.5
- CVE-2026-74891openssl_encrypt versions before 1.4.0 contain hardcoded data…9.8
- CVE-2026-74892openssl_encrypt versions before 1.4.0 contain a hardcoded de…7.5
Are you affected by CVE-2026-74887?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
