CVE-2021-33430: numpy Classic Buffer Overflow
Vulnerability summary
CVE-2021-33430 is a medium (CVSS 5.3) Classic Buffer Overflow vulnerability in numpy. EPSS estimates a 1.16% chance of exploitation in the next 30 days, higher than 66.7% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 17 · Related 14Timeline
- 17-12-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.16%
Chance of exploitation in the next 30 days
Percentile
67%
Versus all other CVEs
30-day change
+0.08 pp
From 1.07% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundNumpy
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Debian1 product
- numpy< 1:1.21.4-2
Numpy1 product
- numpy≥ 1.9.0, ≤ 1.9.3
Opensuse1 product
- python-numba&distro=openSUSE Tumbleweed< 0.61.0-1.1
PyPI1 product
- numpy≥ 1.9.0, < 1.21 | ≥ 1.9.0, < 1.10.0
Ubuntu1 product
- numpy< 1:1.17.4-5ubuntu3.1
5 vendors · 5 products
References
14 links- github.com/numpy/numpyPACKAGE
Show all 14 references
- lists.opensuse.org/archives/…Advisory