CVE-2021-41496Numpy
Medium 5.5
Follow: this CVE · Numpy · Numpy We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 25
- Auth required
- Yes
- Published
- Dec 17, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-120
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally)
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.19 |
1.19 |
pip install "numpy>=1.19" |
| PyPI | numpy |
< 1.19.0 |
1.19.0 |
pip install "numpy>=1.19.0" |
Per OSV / GitHub Advisories (GHSA-f7c7-j99h-c22f, PYSEC-2021-857). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| numpy | numpy | < 1.19.0 |
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 Issue Tracking Patch
- www.oracle.com Third Party Advisory