{"id":"CVE-2026-74874","summary":"openssl_encrypt before 1.4.0 Weak PRNG Steganography Pixel Selection","details":"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.","aliases":["GHSA-vfgx-5q85-58q3","PYSEC-2026-3754"],"modified":"2026-09-03T03:48:19.046788971Z","published":"2026-08-17T11:04:42.912Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-338"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74874.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74874.json"},{"type":"ADVISORY","url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vfgx-5q85-58q3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74874"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-prng-steganography-pixel-selection"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jahlives/openssl_encrypt","events":[{"introduced":"0"},{"fixed":"768df5cd1910e349509f07a27eeac6951e0003bf"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.4.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74874.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}