CVE-2021-41495

MEDIUM

NumPy < 1.19.0 - Denial of Service via Missing Return-Value Validation in PyArray_DescrNew

Title source: llm
STIX 2.1

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

References (2)

Core 2
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/numpy/numpy/issues/19038

Scores

CVSS v3 5.3
EPSS 0.0115
EPSS Percentile 63.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (2)
numpy/numpy < 1.19.0
pypi/numpy 0 - 1.19PyPI
Published Dec 17, 2021
Tracked Since Feb 18, 2026