ADVISORIES

Vulnerability

CVE-2021-41495

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

22 advisories report this vulnerability, across 8 ecosystems.

Advisories in Red Hat

  • RHSA-2022:8852

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (numpy) security update

    CVE-2021-41495 Red Hat Updated 26 June 2026
  • RHSA-2022:8861

    Red Hat Security Advisory: Red Hat OpenStack Platform 16.1.9 (numpy) security update

    CVE-2021-41495 Red Hat Updated 14 January 2026
  • RHVEX-CVE-2021-41495

    numpy: NULL pointer dereference in numpy.sort in in the PyArray_DescrNew() due to missing return-value validation

    Moderate CVE-2021-41495 Red Hat Updated 27 November 2026

References