numpy: Missing input validation on empty list or ndarray in numpy.pad function
Published Aug 15, 2017
7.5
HIGHCVSS 3.0
EPSS 2.71%
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.
Affected products
No data.
No data.
OpenShift Enterprise 1
python27-numpy
Will not fix
Red Hat Enterprise Linux 6
numpy
Will not fix
Red Hat Enterprise Linux 7
numpy
Will not fix
Red Hat Enterprise MRG 1
numpy
Will not fix
Red Hat OpenStack Platform 11 (Ocata)
numpy
Will not fix
Red Hat Software Collections
python27-numpy
Will not fix
Red Hat Software Collections
rh-python34-numpy
Will not fix
Red Hat Software Collections
rh-python35-numpy
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| OpenShift Enterprise 1 | python27-numpy | Will not fix | n/a |
| Red Hat Enterprise Linux 6 | numpy | Will not fix | n/a |
| Red Hat Enterprise Linux 7 | numpy | Will not fix | n/a |
| Red Hat Enterprise MRG 1 | numpy | Will not fix | n/a |
| Red Hat OpenStack Platform 11 (Ocata) | numpy | Will not fix | n/a |
| Red Hat Software Collections | python27-numpy | Will not fix | n/a |
| Red Hat Software Collections | rh-python34-numpy | Will not fix | n/a |
| Red Hat Software Collections | rh-python35-numpy | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (16 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.71% (0.02715) | 85.49th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.68% (0.02681) | 83.81th | v5 (v2026.06.15) |
| Mar 30, 2025 | 0.21% (0.00212) | 40.85th | v4 (v2025.03.14) |
| Mar 29, 2025 | 3.60% (0.03600) | 79.40th | v4 (v2025.03.14) |
| Mar 28, 2025 | 0.21% (0.00212) | 40.88th | v4 (v2025.03.14) |
| Mar 27, 2025 | 3.60% (0.03600) | 86.21th | v4 (v2025.03.14) |
| Mar 20, 2025 | 0.21% (0.00212) | 41.08th | v4 (v2025.03.14) |
| Mar 19, 2025 | 3.60% (0.03600) | 86.37th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.21% (0.00212) | 41.74th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.17% (0.00170) | 55.33th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.17% (0.00170) | 53.45th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.18% (0.00184) | 53.87th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.50% (0.04499) | 88.81th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.74% (0.02742) | 0.00th | v1 |
References (9)
- https://access.redhat.com/security/cve/CVE-2017-12852 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1483686 Issue Tracking
- https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852 x_refsource_MISC
- https://github.com/advisories/GHSA-frgw-fgh6-9g52 Advisory
- https://github.com/numpy/numpy/issues/9560#issuecomment-322395292 x_refsource_CONFIRMExploitThird Party Advisory
- https://github.com/numpy/numpy/releases/tag/v1.13.3
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2017-1.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2017-12852
- https://www.cve.org/CVERecord?id=CVE-2017-12852
Change history (0)
No recorded changes yet.