CVE-2021-33430
NumPy Buffer Overflow (Disputed)
Reported by mitre · Published December 17, 2021
numpy is fixed in 1.21 and 1.10.0 (PyPI)
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
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| numpy | PyPI | 1.21, 1.10.0 |
| numpy | numpy | 1.9.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| PyPI | numpy | 1.9.0 |
Timeline
- Dec 17, 2021 CVE Published
- Dec 20, 2021 EPSS Score (30 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (17 in total, the first dated here)
- Mar 7, 2026 Security Advisory (22 in total, the first dated here)
- Aug 1, 2026 Coalition ESS Score
- Oct 11, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-33430
vulnetix vdb fixes CVE-2021-33430
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-33430/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2021-33430 advisory
- https://github.com/advisories/GHSA-6p56-wp2h-9hxr advisory
- https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e patch
- https://github.com/numpy/numpy url
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml advisory