Vulnerability record · PyPI
PYSEC-2026-3961
Description
openssl_encrypt versions before 1.4.9 fail to properly validate key derivation function costs in crafted files, allowing attackers to trigger unbounded memory and CPU exhaustion during pre-authentication processing. Attackers can supply malicious files with excessive KDF parameters to exhaust system resources and crash or wedge the process before password verification occurs.
Manual fix · PyPI
pip install --upgrade "openssl-encrypt>=1.4.9"Sources