← Vulnerability feed

Vulnerability record · CVE-2021-41495 · published 17 December 2021

CVE-2021-41495: Numpy null pointer dereference vulnerability

Numpy · Numpy

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. 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

5.3 CVSS 3.1 Medium EPSS 1.2% · top 34.3% CWE-476 · NULL pointer dereference
5.3CVSS 3.1 base score, v2 3.5
1.2%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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. 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

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/numpy/numpy/issues/19038 ExploitIssue TrackingThird Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Third Party Advisory
https://github.com/numpy/numpy/issues/19038 ExploitIssue TrackingThird Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Third Party Advisory

Track CVE-2021-41495 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-6446Numpy deserialization of untrusted data vulnerabilityAn issue was discovered in NumPy before 1.16.3. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code vi…EPSS 18%7.5CVE-2017-12852Numpy vulnerabilityThe 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, whi…EPSS 2.7%5.5CVE-2021-41496Numpy classic buffer overflow vulnerabilityBuffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by…EPSS 0.37%5.5CVE-2014-1858Numpy improper input validation vulnerability__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.EPSS 0.45%5.5CVE-2014-1859Numpy link following vulnerability(1) core/tests/test_memmap.py, (2) core/tests/test_multiarray.py, (3) f2py/f2py2e.py, and (4) lib/tests/test_io.py in NumPy before 1.8.1 allow local …EPSS 0.47%5.3CVE-2021-33430Numpy classic buffer overflow vulnerabilityA Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions …EPSS 1.1%5.3CVE-2021-34141Numpy vulnerabilityAn incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by construc…EPSS 1.6%6.2CVE-2026-21525Windows Remote Access Connection Manager null pointer dereference DoSWindows Remote Access Connection Manager contains a null pointer dereference (CWE-476) that lets an unauthorized attacker deny service locally. The f…KEVEPSS 4.8%analysed

Source: NIST National Vulnerability Database (record CVE-2021-41495), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.