CVE-2017-12852
numpy: Missing input validation on empty list or ndarray in numpy.pad function
Loading…
Severity
LowRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · August 15, 2017
Updated · May 13, 2026
Description
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.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 4CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-20 · Improper Input Validation