CVE-2017-12852Numpy
High 7.5 No auth needed
Follow: this CVE · Numpy · Numpy We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Aug 15, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Numpy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | numpy |
< 1.13.3 |
1.13.3 |
pip install "numpy>=1.13.3" |
| PyPI | numpy |
< 1.13.3 |
1.13.3 |
pip install "numpy>=1.13.3" |
Per OSV / GitHub Advisories (GHSA-frgw-fgh6-9g52, PYSEC-2017-1). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| numpy | numpy | ≤ 1.13.1 |
Official advisories
- python313-numpy-2.4.6-1.1 on GA media · SUSE · openSUSE-SU-2026:11371-1 · Jul 24, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com
- github.com Exploit Third Party Advisory