{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-74887","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-08-17T10:42:40.455Z","datePublished":"2026-08-17T11:04:51.799Z","dateUpdated":"2026-10-01T15:20:58.532Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-10-01T15:20:58.532Z"},"datePublic":"2026-02-10T00:00:00.000Z","title":"openssl_encrypt before 1.4.0 Insecure Random Import in PQC Module","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","cweId":"CWE-338","type":"CWE"}]}],"affected":[{"vendor":"jahlives","product":"openssl_encrypt","defaultStatus":"unaffected","packageURL":"pkg:pypi/openssl_encrypt","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"1.4.0"},{"version":"1.4.0","status":"unaffected","versionType":"semver"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:*:*:*","versionEndExcluding":"1.4.0"}]}]}],"metrics":[{"cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM"},"format":"CVSS"},{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW"},"format":"CVSS"}],"references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-cx72-m6xj-3vf6","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-cx72-m6xj-3vf6)"},{"name":"VulnCheck Advisory: openssl_encrypt before 1.4.0 Insecure Random Import in PQC Module","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-insecure-random-import-in-pqc-module"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T14:38:11.935555Z","id":"CVE-2026-74887","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-08-18T14:38:19.785Z"}}]}}