{"cve":"CVE-2021-41495","nvd":{"published":"2021-12-17T20:15:08.477","modified":"2026-06-17T04:08:33.897","status":"Modified","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3},"cwes":["CWE-476"],"references":["https://github.com/numpy/numpy/issues/19038","https://www.oracle.com/security-alerts/cpujul2022.html","https://github.com/numpy/numpy/issues/19038","https://www.oracle.com/security-alerts/cpujul2022.html"],"products":["numpy:numpy"],"source":"nvd","synced_at":"2026-10-19T21:25:41.256909649+00:00"},"epss":{"cve":"CVE-2021-41495","score":0.01241,"percentile":0.69185,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-5545-2q6w-2gh6","url":"https://osv.dev/vulnerability/GHSA-5545-2q6w-2gh6","summary":"NumPy NULL Pointer Dereference","modified":"2023-11-08T04:06:59.212424Z","packages":[{"ecosystem":"PyPI","name":"numpy","purl":"pkg:pypi/numpy","ranges":["<1.19"],"fixed":["1.19"]}]},{"id":"PYSEC-2021-856","url":"https://osv.dev/vulnerability/PYSEC-2021-856","summary":"","modified":"2023-11-08T04:06:59.212424Z","packages":[{"ecosystem":"PyPI","name":"numpy","purl":"pkg:pypi/numpy","ranges":["<1.19.1"],"fixed":["1.19.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}