{"id":"CVE-2026-74885","aliases":["PYSEC-2026-3762","GHSA-43r4-3hf9-m84q"],"title":"openssl_encrypt versions before 1.4.0 contain a logging bug in restore_hidden_modules() that logs module counts after clearing, always sh…","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":"none","vendor":"openssl-encrypt","product":"openssl-encrypt","ecosystem":"pip","affected":["openssl-encrypt < 1.4.0"],"patched":["openssl-encrypt 1.4.0"],"published":"2026-08-17","updated":"2026-09-02","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/PYSEC-2026-3762","references":[{"url":"https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-43r4-3hf9-m84q"},{"url":"https://www.vulncheck.com/advisories/openssl-encrypt-before-logging-bug-and-race-condition"}],"tags":["osv","pip"],"epss":0.00122,"epssPercentile":0.02235,"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 packages\n\n- `openssl-encrypt < 1.4.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `openssl-encrypt 1.4.0`","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}