{"id":"CVE-2017-12852","details":"The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. An empty list or ndarray will stick into an infinite loop, which can allow attackers to cause a DoS attack.","aliases":["GHSA-frgw-fgh6-9g52","PYSEC-2017-1"],"modified":"2026-04-10T03:56:55.221878Z","published":"2017-08-15T16:29:00.200Z","related":["SUSE-RU-2017:3010-1","SUSE-SU-2022:3954-1","openSUSE-SU-2024:11243-1","openSUSE-SU-2024:13820-1","openSUSE-SU-2024:14311-1"],"references":[{"type":"WEB","url":"https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852"},{"type":"EVIDENCE","url":"https://github.com/numpy/numpy/issues/9560#issuecomment-322395292"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/numpy/numpy","events":[{"introduced":"0"},{"last_affected":"1462df1c20eae44d28e6b665b5d194788f57efc5"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"1.13.1"}]}}],"versions":["pre-removal-numpybook","v0.2.2","v0.3.0","v1.13.1","with_maskna"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12852.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}