Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks
Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | numpy | < 1.19.1 | 1.19.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-41495
- https://github.com/numpy/numpy/issues/19038
- https://github.com/advisories/GHSA-5545-2q6w-2gh6
- https://github.com/numpy/numpy
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-856.yaml
- https://www.oracle.com/security-alerts/cpujul2022.html
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness (CWE)
CWE-476- Platform
- Python (PyPI)
- Package
numpy- Disclosed
- 17.12.2021
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - GHSA-5545-2q6w-2gh6 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2021-856 - 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
- 2017: 1
- 2018: 2
- 2019: 1
- 2020: 0
- 2021: 4
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks this entry
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.