What’s Vulnerable › Vulnerabilities
CVE-2021-41495
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-12-17 · updated 2026-06-17
- Weakness: CWE-476
Description
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. 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
Affected products
- Numpy: through 1.19.0
References
- https://github.com/numpy/numpy/issues/19038
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://github.com/numpy/numpy/issues/19038
- https://www.oracle.com/security-alerts/cpujul2022.html
Get alerted when CVE-2021-41495 or the next vulnerability affects your stack