CVE-2018-15560Pycryptodome
High 7.5 No auth needed
Follow: this CVE · Pycryptodome · Pycryptodome We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Pycryptodome.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| pycryptodome | pycryptodome | < 3.6.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- whitehatck01.blogspot.com Exploit Third Party Advisory