CVE-2026-74874: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in jahlives openssl_encrypt
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.
AI Analysis
Technical Summary
The vulnerability in jahlives openssl_encrypt before version 1.4.0 involves the use of a cryptographically weak pseudo-random number generator (PRNG) based on Python's Mersenne Twister in the generate_pseudorandom_sequence function. This PRNG is used for steganographic pixel selection. Because the Mersenne Twister is not designed for cryptographic security, an attacker with knowledge of the password can reconstruct its internal state from approximately 624 outputs. This allows the attacker to predict the pixel locations where hidden data is embedded, facilitating extraction of the concealed information.
Potential Impact
An attacker who knows the password can recover the PRNG state and predict steganographic pixel locations, enabling extraction of hidden data. This compromises the confidentiality of data embedded using the affected versions of openssl_encrypt. There is no indication of privilege escalation, denial of service, or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.4.0, upgrading to version 1.4.0 or later (once available) is recommended if the vendor provides a fix. Until then, avoid using affected versions for steganographic purposes or use a cryptographically secure PRNG alternative.
CVE-2026-74874: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in jahlives openssl_encrypt
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.
CVSS v4.0
Score 8.7high
Affected software
jahlives
openssl_encrypt
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in jahlives openssl_encrypt before version 1.4.0 involves the use of a cryptographically weak pseudo-random number generator (PRNG) based on Python's Mersenne Twister in the generate_pseudorandom_sequence function. This PRNG is used for steganographic pixel selection. Because the Mersenne Twister is not designed for cryptographic security, an attacker with knowledge of the password can reconstruct its internal state from approximately 624 outputs. This allows the attacker to predict the pixel locations where hidden data is embedded, facilitating extraction of the concealed information.
Potential Impact
An attacker who knows the password can recover the PRNG state and predict steganographic pixel locations, enabling extraction of hidden data. This compromises the confidentiality of data embedded using the affected versions of openssl_encrypt. There is no indication of privilege escalation, denial of service, or integrity impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.4.0, upgrading to version 1.4.0 or later (once available) is recommended if the vendor provides a fix. Until then, avoid using affected versions for steganographic purposes or use a cryptographically secure PRNG alternative.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T10:31:04.593Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a82f003bf8831d539c48306
Added to database: 08/17/2026, 11:26:59 UTC
Last enriched: 08/24/2026, 13:26:48 UTC
Last updated: 10/02/2026, 13:29:07 UTC
Views: 62
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.