{"schema_version":"1.9.0","id":"CVE-2017-12852","published":"2017-08-15T16:29:00.200Z","modified":"2026-09-06T08:04:12.199694Z","aliases":["GHSA-frgw-fgh6-9g52","PYSEC-2017-1"],"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","openSUSE-SU-2026:11371-1"],"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/numpy/numpy","events":[{"introduced":"0"},{"last_affected":"1462df1c20eae44d28e6b665b5d194788f57efc5"}],"database_specific":{"cpe":"cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"1.13.1"}],"source":"CPE_RANGE"}}],"versions":["v1.13.1","pre-removal-numpybook","with_maskna","v0.3.0","v0.2.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12852.json"}}],"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"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}