PyPA Advisory Database
PYSEC-2026-3742
Details
openssl_encrypt versions before 1.4.0 contain an arbitrary code execution vulnerability in the Whirlpool hash implementation that uses broad glob patterns to load .so modules without integrity verification. Attackers can place malicious .so files matching the whirlpool*py313*.so pattern in site-packages directories to achieve native code execution when the module is loaded.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | openssl-encrypt | All versions before 1.4.0 (fixed in 1.4.0) |