CVE-2018-15560
Publication date 20 August 2018
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| pycryptodome | 18.04 LTS bionic |
Not affected
|
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty | Not in release |
Notes
leosilva
tested with poc file and not affected. ECB/AES need exactly 16block size of muiltiple size to working according with the lib. Otherwise it gives a ValueError, what is normal and expected in the lib. Also, code affected not present in bionic or cosmic.
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | None |
| Availability impact | High |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |