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.
{ "versions": [ { "introduced": "0" }, { "last_affected": "1.13.1" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12852.json"