id: PYSEC-2018-21 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. affected: - package: name: pycryptodome ecosystem: PyPI purl: pkg:pypi/pycryptodome ranges: - type: ECOSYSTEM events: - introduced: '0' - fixed: 3.6.6 versions: - '3.0' - 3.0rc1 - '3.1' - '3.2' - 3.2.1 - '3.3' - 3.3.1 - '3.4' - 3.4.11 - 3.4.3 - 3.4.4 - 3.4.5 - 3.4.6 - 3.4.7 - 3.4.8 - 3.4.9 - 3.5.0 - 3.5.1 - 3.6.0 - 3.6.1 - 3.6.3 - 3.6.4 - 3.6.5 references: - type: ARTICLE url: https://whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html - type: REPORT url: https://github.com/Legrandin/pycryptodome/issues/198 - type: ADVISORY url: https://github.com/advisories/GHSA-hgg3-g7gr-66r7 aliases: - CVE-2018-15560 - GHSA-hgg3-g7gr-66r7 modified: '2021-06-10T06:52:01.279206Z' published: '2018-08-20T00:29:00Z'