# CVE-2026-74887

## Summary

- **CVE ID:** CVE-2026-74887
- **Severity:** MEDIUM
- **CVSS Score:** 6.3 (CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N)
- **CWE:** CWE-338
- **Published:** Aug 17, 2026
- **Last Modified:** Aug 28, 2026

## Description

openssl_encrypt before 1.4.0 imports Python's non-cryptographic 'random' module (Mersenne Twister PRNG) at line 15 of openssl_encrypt/modules/pqc.py. No direct calls to random.* were present in the code, so no cryptographic operation is currently affected; however, the import creates a hazard that future code could inadvertently use random.randint() instead of a cryptographically secure alternative (secrets/os.urandom), producing predictable values since the Mersenne Twister state can be recovered from approximately 624 outputs. Fixed by removing the import in 1.4.0.

## Affected Products

- jahlives — openssl_encrypt (0)
- jahlives — openssl_encrypt (1.4.0)

## References

- [CNA](https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-cx72-m6xj-3vf6)
- [CNA](https://www.vulncheck.com/advisories/openssl-encrypt-before-insecure-random-import-in-pqc-module)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.18%
- **EPSS Percentile:** 7.9

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-10._