CVE-2021-33430Numpy
Medium 5.3
Follow: this CVE · Numpy · Numpy We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Dec 17, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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
What to do
- Apply the vendor's security update for Numpy.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | numpy |
≥ 1.9.0 < 1.21 |
1.21 |
pip install "numpy>=1.21" |
| PyPI | numpy |
≥ 1.9.0 < 1.10.0 |
1.10.0 |
pip install "numpy>=1.10.0" |
Per OSV / GitHub Advisories (GHSA-6p56-wp2h-9hxr, PYSEC-2021-854). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| numpy | numpy | ≥ 1.9.0 ≤ 1.9.3 |
Official advisories
- python313-numpy-2.4.6-1.1 on GA media · SUSE · openSUSE-SU-2026:11371-1 · Jul 24, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory