
CVE catalog
CVE-2021-41495
numpy: CVE-2021-41495
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.24% · Oct 27, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | numpy | sid | 1:2.4.6+ds-5 | vulnerable |
| Debian | numpy | forky | 1:2.4.6+ds-5 | vulnerable |
| Debian | numpy | trixie | 1:2.2.4+ds-1 | vulnerable |
| Debian | numpy | bookworm | 1:1.24.2-1+deb12u1 | vulnerable |
| Suse | python-numpy | linux enterprise software development kit 12 sp5 | 1.8.0-5.14.1 | fixed |
| Suse | python-numpy | linux enterprise server 12 sp5 | 1.8.0-5.14.1 | fixed |
| Suse | python-numpy | linux enterprise server for sap applications 12 sp5 | 1.8.0-5.14.1 | fixed |
| Suse | python-numpy | linux enterprise module for basesystem 15 sp4 | 1.17.3-150400.23.3.1 | fixed |
| Suse | python-numpy_1_17_3-gnu-hpc | linux enterprise module for hpc 15 sp4 | 1.17.3-150400.23.3.1 | fixed |
| Opensuse | python-numpy | leap 15.4 | 1.17.3-150400.23.3.1 | fixed |
| Opensuse | python-numpy_1_17_3-gnu-hpc | leap 15.4 | 1.17.3-150400.23.3.1 | fixed |
| Suse | python3-numpy | linux enterprise module for basesystem 15 sp6 | 1.17.3-150400.31.1 | fixed |
| Suse | python-numpy_1_17_3-gnu-hpc | linux enterprise module for hpc 15 sp6 | 1.17.3-150400.31.1 | fixed |
| Suse | python-numpy_1_17_3-gnu-hpc | linux enterprise module for package hub 15 sp6 | 1.17.3-150400.31.1 | fixed |
| Opensuse | python-numpy_1_17_3-gnu-hpc | leap 15.6 | 1.17.3-150400.31.1 | fixed |
| Opensuse | python3-numpy | leap 15.6 | 1.17.3-150400.31.1 | fixed |
| Ubuntu | numpy | 20.04 | 1:1.17.3-0ubuntu2 | vulnerable |
| Ubuntu | numpy | 20.04 | 1:1.17.4-3ubuntu1 | vulnerable |
| Ubuntu | numpy | 20.04 | 1:1.17.4-3ubuntu2 | vulnerable |
| Ubuntu | numpy | 20.04 | 1:1.17.4-5ubuntu2 | vulnerable |
| Ubuntu | numpy | 20.04 | 1:1.17.4-5ubuntu3 | vulnerable |
| Ubuntu | numpy | 20.04 | 1:1.17.4-5ubuntu3.1 | fixed |
| Ubuntu | numpy | 22.04 | 1:1.19.5-1ubuntu2 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.19.5-1ubuntu3 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.20.2-1ubuntu1 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.21.4-2 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.21.5-1 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.21.5-1build2 | vulnerable |
| Ubuntu | numpy | 22.04 | 1:1.21.5-1ubuntu22.04.1 | fixed |
| Suse | python-numpy_1_13_3-gnu-hpc | linux enterprise module for hpc 12 | 1.13.3-4.15.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | numpy | source | sid | (unfixed) | unimportant | Not reported | Not reported |
| Debian | numpy | source | forky | (unfixed) | unimportant | Not reported | Not reported |
| Debian | numpy | source | trixie | (unfixed) | unimportant | Not reported | Not reported |
| Debian | numpy | source | bookworm | (unfixed) | unimportant | Not reported | Not reported |
| Suse | python-numpy | rpm | linux enterprise software development kit 12 sp5 | 1.8.0-5.14.1 | Not reported | SUSE-SU-2022:2645-1 | Not reported |
| Suse | python-numpy | rpm | linux enterprise server 12 sp5 | 1.8.0-5.14.1 | Not reported | SUSE-SU-2022:2645-1 | Not reported |
| Suse | python-numpy | rpm | linux enterprise server for sap applications 12 sp5 | 1.8.0-5.14.1 | Not reported | SUSE-SU-2022:2645-1 | Not reported |
| Suse | python-numpy | rpm | linux enterprise module for basesystem 15 sp4 | 1.17.3-150400.23.3.1 | Not reported | SUSE-SU-2022:2646-1 | Not reported |
| Suse | python-numpy_1_17_3-gnu-hpc | rpm | linux enterprise module for hpc 15 sp4 | 1.17.3-150400.23.3.1 | Not reported | SUSE-SU-2022:2646-1 | Not reported |
| Opensuse | python-numpy | rpm | leap 15.4 | 1.17.3-150400.23.3.1 | Not reported | SUSE-SU-2022:2646-1 | Not reported |
| Opensuse | python-numpy_1_17_3-gnu-hpc | rpm | leap 15.4 | 1.17.3-150400.23.3.1 | Not reported | SUSE-SU-2022:2646-1 | Not reported |
| Suse | python3-numpy | rpm | linux enterprise module for basesystem 15 sp6 | 1.17.3-150400.31.1 | Not reported | SUSE-SU-2025:0424-1 | Not reported |
| Suse | python-numpy_1_17_3-gnu-hpc | rpm | linux enterprise module for hpc 15 sp6 | 1.17.3-150400.31.1 | Not reported | SUSE-SU-2025:0424-1 | Not reported |
| Suse | python-numpy_1_17_3-gnu-hpc | rpm | linux enterprise module for package hub 15 sp6 | 1.17.3-150400.31.1 | Not reported | SUSE-SU-2025:0424-1 | Not reported |
| Opensuse | python-numpy_1_17_3-gnu-hpc | rpm | leap 15.6 | 1.17.3-150400.31.1 | Not reported | SUSE-SU-2025:0424-1 | Not reported |
| Opensuse | python3-numpy | rpm | leap 15.6 | 1.17.3-150400.31.1 | Not reported | SUSE-SU-2025:0424-1 | Not reported |
| Ubuntu | numpy | deb | 20.04 | 1:1.17.4-5ubuntu3.1 | Not reported | UBUNTU-CVE-2021-41495 | Not reported |
| Ubuntu | numpy | deb | 22.04 | 1:1.21.5-1ubuntu22.04.1 | Not reported | UBUNTU-CVE-2021-41495 | Not reported |
| Suse | python-numpy_1_13_3-gnu-hpc | rpm | linux enterprise module for hpc 12 | 1.13.3-4.15.1 | Not reported | SUSE-SU-2022:2793-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-numpy]Affected
Source package: [numpy]
Details (2)
1:1.24.2-1+deb12u1· amd64 · bookwormAffected
dsa · numpy · debian · bookworm; dsa · numpy · debian · 12
1:1.24.2-1+deb12u1· arm64 · bookwormAffected
dsa · numpy · debian · bookworm; dsa · numpy · debian · 12
[Debian 13 (Trixie)]
- [python3-numpy]Affected
Source package: [numpy]
Details (2)
1:2.2.4+ds-1· amd64 · trixieAffected
dsa · numpy · debian · 13
1:2.2.4+ds-1· arm64 · trixieAffected
dsa · numpy · debian · 13
- [python3-numpy-dev]Affected
Source package: [numpy]
Details (2)
1:2.2.4+ds-1· amd64 · trixieAffected
dsa · numpy · debian · 13
1:2.2.4+ds-1· arm64 · trixieAffected
dsa · numpy · debian · 13
- [python-numpy-doc]Affected
Source package: [numpy]
Details (2)
1:2.2.4+ds-1· all · trixieAffected
dsa · numpy · debian · 13
1:2.2.4+ds-1· all · trixieAffected
dsa · numpy · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11371-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-41495]
- [https://osv.dev/vulnerability/SUSE-SU-2022:2645-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:2646-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:2793-1]
- [https://osv.dev/vulnerability/SUSE-SU-2025:0424-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-41495]
- [https://security-tracker.debian.org/tracker/CVE-2021-41495]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-41495.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0302.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]