Vulnerability record · PyPI
PYSEC-2026-3754
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.
Manual fix · PyPI
pip install --upgrade "openssl-encrypt>=1.4.0"Sources