What’s Vulnerable › Vulnerabilities

CVE-2026-74874: openssl_encrypt before 1.4.0 Weak PRNG Steganography Pixel Selection

Description

openssl_encrypt versions before 1.4.0 use Python's non-cryptographic random module for steganographic pixel selection in the generate_pseudorandom_sequence function. Attackers who know the password can recover the Mersenne Twister state from approximately 624 outputs and predict pixel locations containing hidden data for extraction.

Affected products

How to fix

Upgrade to a fixed version: jahlives openssl_encrypt 1.4.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-74874 or the next vulnerability affects your stack