{"id":"CVE-2026-74885","title":"openssl_encrypt before 1.4.0 Logging Bug and Race Condition","summary":"openssl_encrypt versions before 1.4.0 contain a logging bug in restore_hidden_modules() that logs module counts after clearing, always showing zero restored modules and corrupting audit trails. Additionally, a race condition exists betwe…","severity":"low","cvss":3.6,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","cvssSource":"cna","cwe":["CWE-117"],"vendor":"jahlives","product":"openssl_encrypt","affected":["openssl_encrypt < 1.4.0"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-17T14:42:34.579262Z"},"published":"2026-08-17","updated":"2026-10-01","sourceUpdated":"2026-10-01T15:20:57.192Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-74885","references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-43r4-3hf9-m84q","label":"GitHub Security Advisory (GHSA-43r4-3hf9-m84q)"},{"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-logging-bug-and-race-condition","label":"VulnCheck Advisory: openssl_encrypt before 1.4.0 Logging Bug and Race Condition"}],"tags":["cve.org","osv","pip"],"epss":0.00205,"epssPercentile":0.10447,"aliases":["PYSEC-2026-3762","GHSA-43r4-3hf9-m84q"],"ecosystem":"pip","patched":["openssl-encrypt 1.4.0"],"ingestedAt":"2026-09-02T19:31:25.496Z","slug":"CVE-2026-74885","body":"## Overview\n\nopenssl_encrypt versions before 1.4.0 contain a logging bug in restore_hidden_modules() that logs module counts after clearing, always showing zero restored modules and corrupting audit trails. Additionally, a race condition exists between module hiding and import hook installation where another thread could re-import blocked modules in multi-threaded environments.\n\n## Affected\n\n- `openssl_encrypt < 1.4.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-74885)\n\nAffected packages:\n\n- `openssl-encrypt < 1.4.0`\n\nPatched in:\n\n- `openssl-encrypt 1.4.0`\n\nSource: https://osv.dev/vulnerability/PYSEC-2026-3762","depth":"sunlit","depthScore":20,"depthScoreParts":{"impact":19.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":214461,"id":"CVE-2026-74885","ts":1790869826929,"field":"cvss","old":null,"new":"3.6"},{"seq":214460,"id":"CVE-2026-74885","ts":1790869826929,"field":"severity","old":"none","new":"low"}]}