VDB
Sign up

PYSEC-2026-3762

Quick fix

PYSEC-2026-3762 — openssl-encrypt: upgrade to the fixed version with the command below.

pip install --upgrade 'openssl-encrypt>=1.4.0'

Details

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 between module hiding and import hook installation where another thread could re-import blocked modules in multi-threaded environments.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/openssl-encrypt
Introduced in: 0Fixed in: 1.4.0
Fixpip install --upgrade 'openssl-encrypt>=1.4.0'

References