CVE-2017-12852
mediumpriority · track · 31EPSS 0.027 · 86 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-frgw-fgh6-9g52Numpy missing input validation2022-05-13ghsa · osvUS
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.
- PYSEC-2017-12017-08-15vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852cnnvd
- https://github.com/numpy/numpy/issues/9560#issuecomment-322395292cnnvd
- https://vigilance.fr/vulnerability/Numpy-overload-via-numpy-pad-39901cnnvd
- https://www.auscert.org.au/bulletins/ESB-2022.5852cnnvd
- https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852enisa_euvd
- https://github.com/numpy/numpy/issues/9560#issuecomment-322395292enisa_euvd
- https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852nvd
- https://github.com/numpy/numpy/issues/9560#issuecomment-322395292ExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan