Skip to content
NumPyGHSA-5545-2q6w-2gh6

NumPy NULL Pointer Dereference

High7.5CVE-2021-41495 · Published Feb 8, 2022 · updated Nov 8, 2023

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays.

GitHub advisory

Affected versions

PackageAffectedFixed in
numpy
PyPI
< 1.191.19
Details and references

More NumPy advisories

All NumPy
Advisory
Arbitrary file write in NumPy
High5.5May 14, 2022
Numpy arbitrary file write via symlink attack
High5.5May 14, 2022
Numpy missing input validation
High7.5May 13, 2022
Buffer Copy without Checking Size of Input in NumPy
Medium5.5Feb 8, 2022
NumPy Buffer Overflow (Disputed)
Medium5.3Jan 7, 2022
Incorrect Comparison in NumPy
Medium5.3Dec 18, 2021

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.