CVE-2021-33430: A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when
CVE-2021-33430 is a medium-severity flaw (CVSS 5.3) affecting numpy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 serv
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 33%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2021-12-17 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-33430?
numpy: upgrade to newer than 1.9.3. Exact commands for each OS are on this page.
Is CVE-2021-33430 being exploited?
CVE-2021-33430 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-33430 affect?
CVE-2021-33430 affects numpy. Severity is medium (CVSS 5.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. NOT
How urgent is CVE-2021-33430?
Priority 40/100. Public exploit reference
Software pages
Python vulnerabilities · Pandas and NumPy vulnerabilities
Related CVEs
- CVE-2021-34141 MEDIUM 5.3 UPGRADE DOWNGRADE An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger
- CVE-2021-41496 MEDIUM 5.5 UPGRADE Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to
- CVE-2021-41495 MEDIUM 5.3 UPGRADE Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew func
- CVE-2019-6446 CRITICAL 9.8 UPGRADE MITIGATE An issue was discovered in NumPy before 1.16.3
- CVE-2017-12852 HIGH 7.5 UPGRADE The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation