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.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| jahlives | openssl_encrypt | < 1.4.0 |
References
- https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vfgx-5q85-58q3Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-prng-steganography-pixel-selectionThird Party Advisory
Timeline
- Published
- Aug 17, 2026
- Last modified
- Oct 8, 2026
- NVD status
- Analyzed