CVE-2026-74887
openssl_encrypt before 1.4.0 Insecure Random Import in PQC Module
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-338 |
| Vendor | jahlives |
| Product | openssl_encrypt |
| Published | Aug 17, 2026 |
Stay Ahead of the Next One
Get instant alerts for jahlives openssl_encrypt
Be the first to know when new unknown vulnerabilities affecting jahlives openssl_encrypt are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None
Affected Versions
jahlives / openssl_encrypt
0 < 1.4.0