{"id":"CVE-2021-33430","aliases":["CVE-2021-33430","GHSA-6p56-wp2h-9hxr","PYSEC-2021-854"],"related":[],"kind":"vulnerability","state":"published","title":"NumPy Buffer Overflow (Disputed)","summary":"A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service. NOTE: The vendor does not agree this is a vulneraility; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service. NOTE: The vendor does not agree this is a vulneraility; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user","source":"cvelist"},{"lang":"en","text":"A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.\n\nNOTE: The vendor does not agree this is a vulnerability; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user.","format":"markdown","source":"ghsa"},{"lang":"es","text":"** EN DISPUTA ** Se presenta una vulnerabilidad de desbordamiento del búfer en NumPy versión 1.9.x en la función PyArray_NewFromDescr_int del archivo ctors.c cuando son especificados arrays de grandes dimensiones (más de 32) desde el código de Python, lo que podría permitir a un usuario malicioso causar una Denegación de Servicio. NOTA: El proveedor no está de acuerdo en que esto sea una vulnerabilidad; en circunstancias (muy limitadas) un usuario puede ser capaz de provocar el desbordamiento del búfer, lo más probable es que el usuario ya tenga privilegios para al menos provocar la denegación de servicio agotando la memoria. Desencadenar esto requiere además el uso de una API poco común (dtypes estructurados complicados), que es muy poco probable que esté disponible para un usuario sin privilegios","source":"nvd"},{"lang":"en","text":"A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.","format":"markdown","source":"pysec"}],"published":"2021-12-17T18:36:51.000Z","modified":"2026-06-17T03:54:32.750Z","severity":{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:N/A:P","score":3.5,"rating":"LOW"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.9.0","status":"affected","fixed":"1.21"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.9.0","lastAffected":"1.9.3"}],"vendor":"numpy","product":"numpy","cpe":"cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.9.0","status":"affected","fixed":"1.10.0"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"pysec"}],"references":[{"url":"https://github.com/numpy/numpy/issues/18939","tags":["exploit","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33430","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/numpy/numpy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-6p56-wp2h-9hxr","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-01T14:32:49.100Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-33430","url":"https://www.cve.org/CVERecord?id=CVE-2021-33430","licence":"CVE Terms of Use","modified":"2024-08-03T23:50:42.972Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6p56-wp2h-9hxr","url":"https://github.com/advisories/GHSA-6p56-wp2h-9hxr","licence":"CC-BY-4.0","modified":"2024-09-26T15:01:21.525Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-33430","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-33430","licence":"Public domain","modified":"2026-06-17T03:54:32.750Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-854","url":"https://osv.dev/vulnerability/PYSEC-2021-854","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:04.438Z"}],"updatedAt":"2026-11-25T22:58:06.070Z","epss":{"score":0.015,"percentile":0.74593,"date":"2026-11-30T12:00:22.000Z"}}