DISPUTED An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call. NOTE: third parties dispute this issue because it is a behavior that might have legitimate applications in (for example) loading serialized Python object arrays from trusted and authenticated sources.
End of life: 12/9/2026, Latest version: 2.2.6
End of life: 12/9/2026, Latest version: 2.2.6
DISPUTED Buffer overflow in the arrayfrompyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally).
DISPUTED Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArrayDescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged. Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place.
init.py in f2py in NumPy before 1.8.1 allows local users to write to arbitrary files via a symlink attack on a temporary file.
End of life: 8/19/2026, Latest version: 2.1.3
End of life: 8/19/2026, Latest version: 2.1.3
(1) core/tests/testmemmap.py, (2) core/tests/testmultiarray.py, (3) f2py/f2py2e.py, and (4) lib/tests/testio.py in NumPy before 1.8.1 allow local users to write to arbitrary files via a symlink attack on a temporary file.
A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArrayNewFromDescrint function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.
NOTE: The vendor does not agree this is a vulnerability; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user.
End of life: 6/17/2026, Latest version: 2.0.2
End of life: 6/17/2026, Latest version: 2.0.2
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.
An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."
End of life: 9/17/2025, Latest version: 1.26.4
End of life: 9/17/2025, Latest version: 1.26.4
End of life: 6/18/2025, Latest version: 1.25.2
End of life: 6/18/2025, Latest version: 1.25.2
An issue was discovered in NumPy 1.16.0 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call.
Upstream issue: https://github.com/numpy/numpy/issues/12759
Upstream patch: https://github.com/numpy/numpy/commit/a2bd3a7eabfe053d6d16a2130fdcad9e5211f6bb
End of life: 12/19/2024, Latest version: 1.24.4
End of life: 12/19/2024, Latest version: 1.24.4
End of life: 6/24/2024, Latest version: 1.23.5
End of life: 6/24/2024, Latest version: 1.23.5
End of life: 1/1/2024, Latest version: 1.22.4
End of life: 1/1/2024, Latest version: 1.22.4
End of life: 6/23/2023, Latest version: 1.21.6
End of life: 6/23/2023, Latest version: 1.21.6
End of life: 1/31/2023, Latest version: 1.20.3
End of life: 1/31/2023, Latest version: 1.20.3
End of life: 6/21/2022, Latest version: 1.19.5