Skip to main content
EPSS 0.4%top 64%

CVE-2026-74874: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in jahlives openssl_encrypt

0
High
Published: 08/17/2026 (08/17/2026, 11:04:42 UTC)
Source: CVE Database V5
Vendor/Project: jahlives
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

jahlives

openssl_encrypt

Affected versions
>=0 <1.4.0
openssl-encrypt
pkg:pypi/openssl-encrypt
Affected versions
<1.4.0

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

AILast updated: 08/24/2026, 13:26:48 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses