{"id":"CVE-2017-12852","published":"2017-08-15T16:00:00Z","modified":"2024-08-05T18:51:06Z","title":"The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02737,"percentile":0.86477,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852","tags":["x_refsource_MISC"]},{"url":"https://github.com/numpy/numpy/issues/9560#issuecomment-322395292","tags":["x_refsource_CONFIRM"]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":17.3},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2017-09-30","earliestUrl":"https://github.com/BT123/numpy-1.13.1","repos":[{"name":"BT123/numpy-1.13.1","url":"https://github.com/BT123/numpy-1.13.1","stars":0,"created":"2017-09-30"}]},"first":{"date":"2017-09-30","source":"PoC-in-GitHub","url":"https://github.com/BT123/numpy-1.13.1"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"numpy","vulnerableRanges":["<1.13.3"],"patched":["1.13.3"],"from":["GHSA-frgw-fgh6-9g52","PYSEC-2017-1"],"provenance":"source"}],"summary":{"text":"The numpy.pad function in Numpy 1.13.1 and older versions lacks input validation, so an empty list or ndarray passed to it causes an infinite loop.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:17Z"},"euvd":{"id":"EUVD-2017-0080","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-1858","published":"2018-01-08","fixed":"1.8.1","kev":false},{"cve":"CVE-2014-1859","published":"2018-01-08","fixed":"1.8.1","kev":false},{"cve":"CVE-2017-12852","published":"2017-08-15","fixed":"1.13.3","kev":false},{"cve":"CVE-2019-6446","published":"2019-01-16","fixed":"1.16.3","kev":false,"link":{"from":"CVE-2017-12852","to":"CVE-2019-6446","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:numpy","fromFixed":"1.13.3","toFixed":"1.16.3","daysApart":519}]}},{"cve":"CVE-2021-41496","published":"2021-12-17","fixed":"1.19","kev":false},{"cve":"CVE-2021-41495","published":"2021-12-17","fixed":"1.19.1","kev":false}],"package":"PyPI:numpy"}}