{"cve":"CVE-2026-74874","nvd":{"published":"2026-08-17T11:16:41.813","modified":"2026-10-08T16:17:39.117","status":"Analyzed","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":{"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-338"],"references":["https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vfgx-5q85-58q3","https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-prng-steganography-pixel-selection"],"products":["jahlives:openssl_encrypt"],"source":"nvd","synced_at":"2026-10-19T22:49:10.689564601+00:00"},"epss":{"cve":"CVE-2026-74874","score":0.00437,"percentile":0.3768,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vfgx-5q85-58q3","url":"https://osv.dev/vulnerability/GHSA-vfgx-5q85-58q3","summary":"openssl-encrypt has non-cryptographic PRNG used for steganography pixel selection","modified":"2026-09-02T09:10:33.726280398Z","packages":[{"ecosystem":"PyPI","name":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","ranges":["<1.4.0"],"fixed":["1.4.0"]}]},{"id":"PYSEC-2026-3754","url":"https://osv.dev/vulnerability/PYSEC-2026-3754","summary":"","modified":"2026-09-02T09:00:04.184109412Z","packages":[{"ecosystem":"PyPI","name":"openssl-encrypt","purl":"pkg:pypi/openssl-encrypt","ranges":["<1.4.0"],"fixed":["1.4.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}