—
PYSEC-2026-3798
Quick fix
PYSEC-2026-3798 — openssl-encrypt: upgrade to the fixed version with the command below.
pip install --upgrade 'openssl-encrypt>=1.4.9'Details
openssl_encrypt before 1.4.9 fails to validate the total field from QR JSON payloads before materializing ranges. Attackers can supply crafted QR images with extremely large total values to trigger unbounded memory allocation and cause denial of service through out-of-memory conditions.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/openssl-encrypt
Introduced in:
0Fixed in: 1.4.9Fix
pip install --upgrade 'openssl-encrypt>=1.4.9'