Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. numpy
  4. ›
  5. CVE-2021-41495

CVE-2021-41495: NULL Pointer Dereference

December 17, 2021 (updated November 7, 2023)

Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays.

References

  • github.com/numpy/numpy/issues/19038
  • nvd.nist.gov/vuln/detail/CVE-2021-41495

Code Behaviors & Features

Detect and mitigate CVE-2021-41495 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.19.0

Fixed versions

  • 1.19.1

Solution

Upgrade to version 1.19.1 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

pypi/numpy/CVE-2021-41495.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.