# CVE-2026-74874: openssl_encrypt before 1.4.0 Weak PRNG Steganography Pixel Selection

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-03-31T23:43:06.000Z
- Modified: 2026-10-08T16:17:39.117Z
- Also known as: GHSA-vfgx-5q85-58q3, PYSEC-2026-3754
- Weaknesses: CWE-330, CWE-338
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- jahlives openssl_encrypt: before 1.4.0 (not affected: 1.4.0)
- openssl-encrypt (PyPI): before 1.4.0

## Every score

- VulnCheck: CVSS:4.0 8.7 High `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`
- VulnCheck: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:4.0 Medium `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/E:U`
- PyPA Advisory Database: CVSS:4.0 `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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-vfgx-5q85-58q3> (advisory, mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/openssl-encrypt-before-weak-prng-steganography-pixel-selection> (advisory, third-party-advisory)
- <https://github.com/jahlives/openssl_encrypt/commit/09e96e090417d34d2f533f6810d3cd4f77810101> (web)
- <https://github.com/jahlives/openssl_encrypt> (package)

## Sources

- CVE List: [CVE-2026-74874](https://www.cve.org/CVERecord?id=CVE-2026-74874), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-vfgx-5q85-58q3](https://github.com/advisories/GHSA-vfgx-5q85-58q3), CC-BY-4.0, modified 2026-09-02
- NVD: [CVE-2026-74874](https://nvd.nist.gov/vuln/detail/CVE-2026-74874), Public domain, modified 2026-10-08
- PyPA Advisory Database: [PYSEC-2026-3754](https://osv.dev/vulnerability/PYSEC-2026-3754), CC-BY-4.0, modified 2026-09-02

---

Page: https://cve.day/CVE-2026-74874 · Whole record: https://cve.day/CVE-2026-74874.json · Rebuilt by cve.day 2026-11-25T22:59:33.331Z
