{"id":"CVE-2018-15560","aliases":["EUVD-2018-0120","GHSA-hgg3-g7gr-66r7","PYSEC-2018-21"],"status":"published","title":"PyCryptodome integer overflow vulnerability","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01756,"percentile":0.78072,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2018-08-20T00:00:00Z","modified":"2026-10-20T10:50:04Z","fixes":[{"ecosystem":"PyPI","package":"pycryptodome","fixed_in":["3.6.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pycryptodome","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.6"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]}],"products":[{"vendor":"pycryptodome","product":"pycryptodome"}],"references":[{"url":"https://whitehatck01.blogspot.com/2018/08/integer-overflow-vulnerability-in.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","article"]},{"url":"https://github.com/Legrandin/pycryptodome/issues/198","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-15560","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hgg3-g7gr-66r7","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pycryptodome/PYSEC-2018-21.yaml","tags":["web"]},{"url":"https://github.com/Legrandin/pycryptodome","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2018-15560","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":"published","published":"2018-08-20T00:00:00Z","modified":"2024-08-05T09:54:03.532Z","updated_at":"2026-11-02T14:35:03.288698Z"}],"euvd":[{"id":"EUVD-2018-0120","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":"published","published":"2018-08-20T00:00:00Z","modified":"2024-08-05T09:54:03Z","updated_at":"2026-11-03T02:39:44.728742Z"}],"ghsa":[{"id":"GHSA-hgg3-g7gr-66r7","title":"PyCryptodome integer overflow vulnerability","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":"published","published":"2018-08-27T19:52:28Z","modified":"2024-10-21T20:21:37Z","cvss":[{"version":"4.0","score":8.7,"vector":"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","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:38:12.325695Z"}],"nvd":[{"id":"CVE-2018-15560","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":"published","published":"2018-08-20T00:29:00.697Z","modified":"2026-06-17T01:42:44.957Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:04:36.842579Z"}],"osv":[{"id":"CVE-2018-15560","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":"published","published":"2018-08-20T00:29:00.697Z","modified":"2026-10-20T10:50:04.145344292Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"GHSA-hgg3-g7gr-66r7","title":"PyCryptodome integer overflow vulnerability","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":"published","published":"2018-08-27T19:52:28Z","modified":"2024-10-21T21:17:53.812642Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":8.7,"vector":"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","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T15:46:49.28217Z"},{"id":"PYSEC-2018-21","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":"published","published":"2018-08-20T00:29:00Z","modified":"2023-11-08T03:59:57.665352Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
