High

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.

  • Disclosed: 15.08.2017
  • Updated: 11.10.2026 11:18

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) numpy < 1.13.3 1.13.3

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-835
Platform
Python (PyPI)
Package
numpy
Disclosed
15.08.2017
Updated
11.10.2026 11:18

Sources and licenses

OSV / GitHub Advisory Database - GHSA-frgw-fgh6-9g52 - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2017-1 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: numpy

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
08.2017 12.2021
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 4
  • Medium 3

Disclosures per year

  1. 2017: 1
  2. 2018: 2
  3. 2019: 1
  4. 2020: 0
  5. 2021: 4
  6. 2022: 0
  7. 2023: 0
  8. 2024: 0
  9. 2025: 0
  10. 2026: 0
  1. Medium · 5.3 CVE-2021-33430 >= 1.9.0, < 1.21 1.21
  2. Critical · 9.8 CVE-2019-6446 < 1.16.3 1.16.3
  3. High · 5.5 CVE-2014-1859 < 1.8.1 1.8.1
  4. High · 5.5 CVE-2014-1858 < 1.8.1 1.8.1
  5. 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. this entry
    High · 7.5 CVE-2017-12852 < 1.13.3 1.13.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.