NULL Pointer Dereference Affecting numpy package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.24% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN14-NUMPY-11762669
  • published10 Aug 2025
  • disclosed17 Dec 2021

Introduced: 17 Dec 2021

CVE-2021-41495  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

There is no fixed version for Debian:14 numpy.

NVD Description

Note: Versions mentioned in the description apply only to the upstream numpy package and not the numpy package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1