CVE-2018-15560
HIGH 7.5CVSS 3.1PyCryptodome integer overflow vulnerability
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.
- Published
- 20 Aug 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-190
- Also known as
- GHSA-hgg3-g7gr-66r7PYSEC-2018-21
- Sources
- NVDJSONOSV GHSA-hgg3-g7gr-66r7JSONOSV PYSEC-2018-21JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pycryptodome | pycryptodomecpe:2.3:a:pycryptodome:pycryptodome:*:*:*:*:*:*:*:* |
< 3.6.6 | 3.6.6 |
| OSV | PyPI | pycryptodome | < 3.6.6 | 3.6.6 |
References
- https://github.com/Legrandin/pycryptodome/issues/198 · Exploit, Third Party Advisory, WEB, REPORT
- https://whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html · Exploit, Third Party Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2018-15560 · ADVISORY
- https://github.com/Legrandin/pycryptodome · PACKAGE
- https://github.com/advisories/GHSA-hgg3-g7gr-66r7 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pycryptodome/PYSEC-2018-21.yaml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 20 Aug 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 20 Aug 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 27 Aug 2018)