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.
Published: 2026-08-17
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

openssl_encrypt versions prior to 1.4.0 rely on Python's non-cryptographic random module for selecting steganographic pixel positions through a function that generates a pseudorandom sequence. Because the random generator is a Mersenne Twister, an attacker who knows the encryption password can recover its internal state from about 624 outputs. Once the state is known, the attacker can predict every pixel location that holds hidden data and extract the payload, leading to a confidentiality breach of any information embedded through this mechanism.

Affected Systems

The vulnerability affects the jahlives openssl_encrypt library. Any installation using openssl_encrypt version 1.3.x or earlier (i.e., any version before 1.4.0) is impacted. No specific sub-versions are listed, so all releases prior to 1.4.0 should be considered vulnerable.

Risk and Exploitability

The CVSS score of 8.7 reflects a high severity risk. The EPSS score is not available, but the lack of a KEV listing indicates no widely known exploitation yet. The attack requires knowledge of the password used during encryption, so it is a local or credential-based threat. If an attacker obtains the password, they can easily recover the Mersenne Twister state and predict hidden pixel positions, resulting in a direct confidentiality compromise. Mitigations should therefore focus on patching and disabling the vulnerable functionality.

Generated by OpenCVE AI on August 17, 2026 at 12:34 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to openssl_encrypt version 1.4.0 or later to replace the defective PRNG usage.
  • Disable steganographic pixel selection if it is not required, or remove the associated code path from your build.
  • Enforce strong, regularly rotated passwords to limit the useful window for an attacker attempting to reconstruct the PRNG state.
  • Add integrity or audit checks to detect unexpected extraction of hidden data.

Generated by OpenCVE AI on August 17, 2026 at 12:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 01 Sep 2026 22:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*

Fri, 21 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
First Time appeared Jahlives
Jahlives openssl Encrypt
Vendors & Products Jahlives
Jahlives openssl Encrypt

Mon, 17 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
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.
Title openssl_encrypt before 1.4.0 Weak PRNG Steganography Pixel Selection
Weaknesses CWE-338
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': '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'}


Subscriptions

Jahlives Openssl Encrypt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-17T16:04:06.261Z

Reserved: 2026-08-17T10:31:04.593Z

Link: CVE-2026-74874

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-08-17T11:16:41.813

Modified: 2026-09-01T15:29:02.317

Link: CVE-2026-74874

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T12:41:06Z

Weaknesses
  • CWE-338

    Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)