Description
Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged. Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place
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 | No fix yet | — |
| Debian 13 | numpy | No fix yet | — |
| Debian 12 | numpy | No fix yet | — |
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-11.el8ost | RHSA-2022:8861, RHSA-2022:8852 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | python3-numpy +1 | 1.17.3-150400.31.1 | SUSE-SU-2025:0424-1 |
| SLES 15 SP4 | python-numpy +1 | 1.17.3-150400.23.3.1 | SUSE-SU-2022:2646-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 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLES 15 SP1 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
Show 16 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.14.1 | SUSE-SU-2022:2645-1 |
| SLES 12 | python-numpy_1_13_3-gnu-hpc | 1.13.3-4.15.1 | SUSE-SU-2022:2793-1 |
| SLES 2 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-1 |
| SLES for SAP 15 SP2 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLES for SAP 15 SP1 | python2-numpy | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| 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.14.1 | SUSE-SU-2022:2645-1 |
| SLE HPC 15 SP2 | python2-numpy +1 | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SLE HPC 15 SP1 | python2-numpy +1 | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| SLE HPC 15 | python2-numpy +1 | 1.16.5-150000.1.9.1 | SUSE-SU-2022:2441-1 |
| 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 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Manager Proxy 4.1 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| SUSE Enterprise Storage 7 | python2-numpy | 1.16.5-150200.3.5.1 | SUSE-SU-2022:1064-2 |
| 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-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.6 | python3-numpy +1 | 1.17.3-150400.31.1 | SUSE-SU-2025:0424-1 |
| openSUSE Leap 15.4 | python-numpy +1 | 1.17.3-150400.23.3.1 | SUSE-SU-2022:2646-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 | python2-numpy +1 | 1.16.5-150200.3.5.1 | openSUSE-SU-2022:1064-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | numpy | 1.22.0-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | numpy | < 1.19 | 1.19 | GHSA-5545-2q6w-2gh6 |
| PyPI | numpy | < 1.19.1 | 1.19.1 | PYSEC-2021-856 |
Advisories 17
- 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:8852 Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (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:2645-1 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2646-1 Security update for python-numpy SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:0424-1 Security update for python3-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
- RHSA-2022:8861 Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (numpy) security update Red Hat Security Advisories (RHSA) · Jan 14, 2026
- openSUSE-SU-2024:13220-1 python310-numpy-1.25.2-2.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2022:2793-1 Security update for python-numpy SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2022:2441-1 Security update for python2-numpy SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-0456 tribe29 checkmk: Mehrere Schwachstellen ermöglichen nicht spezifizierten Angriff BSI CERT-Bund (WID) · Dec 7, 2022