Insecure Random Import in OpenSSL_Encrypt Before Version 1.4.0
CVE-2026-74887

9.3CRITICAL

Key Information:

Vendor

Jahlives

Vendor
CVE Published:
17 August 2026

What is CVE-2026-74887?

The OpenSSL_Encrypt library before version 1.4.0 introduces a vulnerability due to the import of Python's non-cryptographic 'random' module in its post-quantum cryptography (PQC) functionality. This import, while not affecting any immediate cryptographic operations, creates a significant risk for future code implementations. Inadvertent usage of the random.randint() function could lead to predictable outputs, undermining cryptographic security. This is due to the recoverable state of the Mersenne Twister PRNG from as few as 624 outputs. The vulnerability was addressed in version 1.4.0 by removing the insecure import.

Affected Version(s)

openssl_encrypt 0 < 1.4.0

openssl_encrypt 1.4.0

References

CVSS V4

Score:
9.3
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.