Read the docs
TI-2021-18253 Aliases CVE-2021-41495GHSA-5545-2q6w-2gh6

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the…

Priority LOW 27CWE-476Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 5 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-476.

Summary

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt 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

Why it matters now

EPSS 0.01241 69th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial numpy (PyPI): 1.19Red Hat: 2 advisoriesRed Hat: 2 fixed, 5 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—numpy (PyPI)before 1.191.19Patch availableGHSA-5545-2q6w-2gh6
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • numpy (PyPI) Vendor— Affected before 1.19 Fixed in 1.19 Patch available GHSA-5545-2q6w-2gh6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*up to 1.19.0VulnerableNumpy
  • cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:* Versions up to 1.19.0 Vulnerable ·Numpy

Remediation

  • Fix · GHSA-5545-2q6w-2gh6 numpy (PyPI) Fixed in 1.19 Advisory →

Red Hat 2 advisories

  • RHSA-2022:8861 Released 2022-12-07 · Red Hat rating Moderate
    Red Hat OpenStack Platform 16.1.9 (numpy) security update
    • Red Hat OpenStack Platform 16.1 numpy-1:1.17.0-11.el8ost, python3-numpy-1:1.17.0-11.el8ost, python3-numpy-f2py-1:1.17.0-11.el8ost
  • RHSA-2022:8852 Released 2022-12-07 · Red Hat rating Moderate
    Red Hat OpenStack Platform 16.2.4 (numpy) security update
    • Red Hat OpenStack Platform 16.2 numpy-1:1.17.0-11.el8ost, python3-numpy-1:1.17.0-11.el8ost, python3-numpy-f2py-1:1.17.0-11.el8ost

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 16.1Fixed RHSA-2022:8861
Red Hat OpenStack Platform 16.2Fixed RHSA-2022:8852
Not affected: 1 product
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-41495
  2. 2026-10-03 Alias added: GHSA-5545-2q6w-2gh6

References

  • TI-2019-04516 An issue was discovered in NumPy before 1.16.3. CVSS 3.0CRITICAL 9.8
  • TI-2017-09516 The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. CVSS 3.0HIGH 7.5
  • TI-2021-13284 An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows… CVSS 3.1MEDIUM 5.3
  • TI-2021-12844 A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int… CVSS 3.1MEDIUM 5.3
  • TI-2021-18254 Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19… CVSS 3.1MEDIUM 5.5
  • TI-2014-01452 (1) core/tests/test_memmap.py, (2) core/tests/test_multiarray.py, (3) f2py/f2py2e.py, and… CVSS 3.0MEDIUM 5.5
See all 7 →

Sources