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
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | numpy | 1:1.21.4-2 | — |
| Debian 13 | numpy | 1:1.21.4-2 | — |
| Debian 12 | numpy | 1:1.21.4-2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | numpy | 1:1.21.5-1ubuntu22.04.1 | USN-5763-1 |
| Ubuntu 20.04 LTS | numpy | 1:1.17.4-5ubuntu3.1 | USN-5763-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 16 | numpy +2 | 1:1.17.0-8.el8ost | RHSA-2022:1000, RHSA-2022:0987 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP3 | python-numpy +1 | 1.17.3-10.1 | SUSE-SU-2022:0134-1 |
| SLES 15 SP3 | python-numpy_1_16_5-gnu-hpc | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-1 |
| SLES 15 SP2 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES 15 SP2 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLES 15 SP1 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES 15 SP1 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLES 15 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES 15 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLES 12 SP5 | python-numpy | 1.8.0-5.11.1 | SUSE-SU-2022:0118-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | python-numpy_1_13_3-gnu-hpc | 1.13.3-4.12.1 | SUSE-SU-2022:0206-1 |
| SLES 2 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-1 |
| SLES for SAP 15 SP2 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES for SAP 15 SP2 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLES for SAP 15 SP1 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES for SAP 15 SP1 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLES for SAP 15 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLES for SAP 15 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLES for SAP 12 SP5 | python-numpy | 1.8.0-5.11.1 | SUSE-SU-2022:0118-1 |
| SLE Real Time 15 SP2 | python-numpy +1 | 1.17.3-10.1 | SUSE-SU-2022:0134-3, SUSE-SU-2022:0134-2, SUSE-SU-2022:0134-1 |
| SLE HPC 15 SP2 | python-numpy +1 | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLE HPC 15 SP2 | python2-numpy +1 | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLE HPC 15 SP1 | python-numpy +1 | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLE HPC 15 SP1 | python2-numpy +1 | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLE HPC 15 | python-numpy +1 | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SLE HPC 15 | python2-numpy +1 | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SUSE Package Hub 15 SP3 | dxflib | 3.17.0-bp153.2.3.1 | openSUSE-SU-2022:0134-1 |
| SUSE Manager Server 4.1 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SUSE Manager Server 4.1 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Manager Retail Branch Server 4.1 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SUSE Manager Retail Branch Server 4.1 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Manager Proxy 4.1 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SUSE Manager Proxy 4.1 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Enterprise Storage 7 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SUSE Enterprise Storage 7 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Enterprise Storage 6 | python-numpy | 1.17.3-10.1 | SUSE-SU-2022:0134-3 |
| SUSE Enterprise Storage 6 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-numba | 0.61.0-1.1 | openSUSE-SU-2025:14743-1 |
| openSUSE Tumbleweed | python-numpy | 1.25.2-2.1 | openSUSE-SU-2026:11371-1, openSUSE-SU-2024:13220-1 |
| openSUSE Tumbleweed | python-numpy1 | 1.26.4-1.1 | openSUSE-SU-2024:14311-1 |
| openSUSE Leap 15.4 | python-numpy_1_16_5-gnu-hpc | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| openSUSE Leap 15.3 | dxflib | 3.17.0-bp153.2.3.1 | openSUSE-SU-2022:0134-1 |
| openSUSE Leap 15.3 | python-numpy +1 | 1.17.3-10.1 | openSUSE-SU-2022:0134-1 |
| openSUSE Leap 15.3 | python2-numpy +1 | 1.16.5-150200.3.5.1 | openSUSE-SU-2022:1064-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | numpy | >= 1.9.0, < 1.21 | 1.21 | GHSA-6p56-wp2h-9hxr |
| PyPI | numpy | >= 1.9.0, < 1.10.0 | 1.10.0 | PYSEC-2021-854 |
Advisories 20
- WID-SEC-2022-0432 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2022-0302 Xerox FreeFlow Print Server: Mehrere Schwachstellen ermöglichen Ausführen von beliebigem Programmcode mit Administratorrechten BSI CERT-Bund (WID) · Oct 11, 2026
- openSUSE-SU-2026:11371-1 python313-numpy-2.4.6-1.1 on GA media SUSE / openSUSE Security Updates · Jul 25, 2026
- RHSA-2022:1000 Red Hat Security Advisory: Red Hat OpenStack Platform 16.2 (numpy) security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-5763-1 numpy vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2022:1064-1 Security update for python2-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1064-2 Security update for python2-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0134-3 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0206-1 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0134-2 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:0134-1 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14311-1 python310-numpy1-1.26.4-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1064-1 Security update for python2-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2022:0134-1 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- RHSA-2022:0987 Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (numpy) security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
- WID-SEC-2022-0250 Red Hat OpenStack: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 21, 2025
- openSUSE-SU-2024:13220-1 python310-numpy-1.25.2-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2025:14743-1 python311-numba-0.61.0-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2022:2441-1 Security update for python2-numpy SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2022:0118-1 Security update for python-numpy SUSE / openSUSE Security Updates · May 2, 2025