Lucene search

K
osvGoogleOSV:GHSA-6P56-WP2H-9HXR
HistoryJan 07, 2022 - 12:09 a.m.

NumPy Buffer Overflow (Disputed)

2022-01-0700:09:39
Google
osv.dev
46
numpy
buffer overflow
pyarray_newfromdescr_int
dos
vulnerability
large dimensions
python code

AI Score

5.3

Confidence

High

EPSS

0.001

Percentile

30.3%

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