openssl_encrypt before 1.4.0 Insecure Random Import in PQC Module
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA openssl_encrypt (jahlives) Fixed in 1.4.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
jahlives openssl_encrypt 1.4.0
28 records Highest priority Priority HIGH 3 HIGH, 21 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-52616 openssl_encrypt before 1.4.0 Sandbox Escape via Type HierarchyPriority HIGH 81
- TI-2026-52615 openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute TraversalPriority HIGH 81
- TI-2026-52602 openssl_encrypt before 1.4.0 Sandbox Bypass via pathlib and ioPriority HIGH 79
Timeline
- 2026-10-02 Threatist record created from CVE-2026-74887
- 2026-10-03 Alias added: GHSA-j466-q253-mxp8
References
More jahlives Openssl Encrypt vulnerabilities
- TI-2026-52616 openssl_encrypt before 1.4.0 Sandbox Escape via Type Hierarchy CVSS 4.0CRITICAL 9.3
- TI-2026-52615 openssl_encrypt before 1.4.0 Sandbox Escape via Dunder Attribute Traversal CVSS 4.0CRITICAL 9.3
- TI-2026-52602 openssl_encrypt before 1.4.0 Sandbox Bypass via pathlib and io CVSS 4.0HIGH 8.7
- TI-2026-52617 openssl_encrypt before 1.4.0 Weak Shared Secret via PQC Simulation Mode CVSS 4.0CRITICAL 9.3
- TI-2026-52614 openssl_encrypt before 1.4.0 Plugin Sandbox Bypass via Process Isolation CVSS 4.0CRITICAL 9.3
- TI-2026-52613 openssl_encrypt before 1.4.0 Authentication Bypass via Bearer Token CVSS 4.0CRITICAL 9.3
Sources
- CVE-2026-74887 · CVE Program
- CVE-2026-74887 · NVD
- FIRST EPSS
- GHSA-j466-q253-mxp8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences