Live threats

All CVEs / Pycryptodome

CVE-2018-15560Pycryptodome

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Aug 20, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pycryptodome.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pycryptodome < 3.6.6 3.6.6 pip install "pycryptodome>=3.6.6"
PyPI pycryptodome < 3.6.6 3.6.6 pip install "pycryptodome>=3.6.6"

Per OSV / GitHub Advisories (GHSA-hgg3-g7gr-66r7, PYSEC-2018-21). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pycryptodomepycryptodome< 3.6.6

Official sources

References

Links published by the sources. Open them with care.