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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-338"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74874.json"
}{
"cpe": "cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.4.0"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
]
}