cve.bz

CVE-2021-33430

5.3 mediumEPSS 1.2%

Medium (5.3) in numpy numpy. EPSS 1.2% chance of exploitation in the next 30 days. Fixed in numpy 1.10.0, 1.21.

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

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.2% chance of exploitation in the next 30 days; higher than 67% of CVEs (scores of 2026-10-31)
CWE
CWE-120
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6p56-wp2h-9hxrPyPInumpy>=1.9.0 <1.211.21
PYSEC-2021-854PyPInumpy>=1.9.0 <1.10.01.10.0

References

Check your stackJSON