← Vulnerability feed

Vulnerability record · CVE-2021-41496 · published 17 December 2021

CVE-2021-41496: Numpy classic buffer overflow vulnerability

Numpy · Numpy

Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally)

5.5 CVSS 3.1 Medium EPSS 0.37% · top 71.9% CWE-120 · Classic buffer overflow
5.5CVSS 3.1 base score, v2 2.1
0.37%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally)

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/numpy/numpy/issues/19000 ExploitIssue TrackingPatchThird Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Third Party Advisory
https://github.com/numpy/numpy/issues/19000 ExploitIssue TrackingPatchThird Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Third Party Advisory

Track CVE-2021-41496 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2019-6446Numpy deserialization of untrusted data vulnerabilityAn issue was discovered in NumPy before 1.16.3. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code vi…EPSS 18%7.5CVE-2017-12852Numpy vulnerabilityThe numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. An empty list or ndarray will stick into an infinite loop, whi…EPSS 2.7%5.5CVE-2014-1858Numpy improper input validation vulnerability__init__.py in f2py in NumPy before 1.8.1 allows local users to write to arbitrary files via a symlink attack on a temporary file.EPSS 0.45%5.5CVE-2014-1859Numpy link following vulnerability(1) core/tests/test_memmap.py, (2) core/tests/test_multiarray.py, (3) f2py/f2py2e.py, and (4) lib/tests/test_io.py in NumPy before 1.8.1 allow local …EPSS 0.47%5.3CVE-2021-41495Numpy null pointer dereference vulnerabilityNull Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the PyArray_DescrNew function due to missing return-value valida…EPSS 1.2%5.3CVE-2021-33430Numpy classic buffer overflow vulnerabilityA Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions …EPSS 1.1%5.3CVE-2021-34141Numpy vulnerabilityAn incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by construc…EPSS 1.6%5.5CVE-2025-43520Apple OS kernel memory corruption via malicious appA memory corruption flaw (classic buffer overflow) in Apple's kernel was fixed across iOS, iPadOS, macOS, tvOS, visionOS and watchOS. A malicious app…KEVEPSS 0.43%analysed

Source: NIST National Vulnerability Database (record CVE-2021-41496), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.