CVE-2021-33430

MEDIUM

NumPy <1.9.x - Buffer Overflow

Title source: llm
STIX 2.1

Description

A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service. NOTE: The vendor does not agree this is a vulneraility; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/numpy/numpy/issues/18939

Scores

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

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-120
Status published
Products (2)
numpy/numpy 1.9.0 - 1.9.3
pypi/numpy 1.9.0 - 1.21PyPI
Published Dec 17, 2021
Tracked Since Feb 18, 2026