VDB
Sign up
—

PYSEC-2018-21

Quick fix

PYSEC-2018-21 — pycryptodome: upgrade to the fixed version with the command below.

pip install --upgrade 'pycryptodome>=3.6.6'

Details

PyCryptodome before 3.6.6 has an integer overflow in the data_len variable in AESNI.c, related to the AESNI_encrypt and AESNI_decrypt functions, leading to the mishandling of messages shorter than 16 bytes.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pycryptodome
Introduced in: 0Fixed in: 3.6.6
Fixpip install --upgrade 'pycryptodome>=3.6.6'

References