numpy: known vulnerabilities and the safe version

PyPI8 records

The version to be on

Version 1.19.1 or later fixes every vulnerability on this page that has a recorded fix.

Upgrade numpy with pip

pip install --upgrade "numpy>=1.19.1"
pip show numpy | grep Version

Pin it in requirements.txt

numpy>=1.19.1

Check the release notes before a large jump in version. Newer vulnerabilities may have been found since this page was updated.

Watch numpy

Get an email only when numpy has a new vulnerability record. Unsubscribe with one click.

Badge for your README

Shows the number of known critical and high vulnerabilities in numpy and the version that fixes them. It updates by itself.

SecurityElites AI vulnerability status for numpy

Markdown

[![SecurityElites AI vulnerability status](https://securityelites.com/ai-vulnerabilities/package/numpy/badge/)](https://securityelites.com/ai-vulnerabilities/package/numpy/)

All records

  • Numpy Deserialization of Untrusted DataUnknown · CVE-2019-6446 · fixed in 1.16.1 · 25 May 2022
  • Arbitrary file write in NumPyUnknown · CVE-2014-1858 · fixed in 1.8.1 · 14 May 2022
  • Numpy arbitrary file write via symlink attackUnknown · CVE-2014-1859 · fixed in 1.8.1 · 14 May 2022
  • Numpy missing input validationUnknown · CVE-2017-12852 · fixed in 1.13.3 · 13 May 2022
  • Buffer Copy without Checking Size of Input in NumPyUnknown · CVE-2021-41496 · fixed in 1.19.0 · 8 Feb 2022
  • NumPy NULL Pointer DereferenceUnknown · CVE-2021-41495 · fixed in 1.19.1 · 8 Feb 2022
  • NumPy Buffer Overflow (Disputed)Unknown · CVE-2021-33430 · fixed in 1.10.0 · 7 Jan 2022
  • Incorrect Comparison in NumPyUnknown · CVE-2021-34141 · fixed in 1.10.0 · 18 Dec 2021