{"id":"CVE-2021-41496","aliases":["CVE-2021-41496","GHSA-f7c7-j99h-c22f","PYSEC-2021-857"],"related":[],"kind":"vulnerability","state":"published","title":"Buffer Copy without Checking Size of Input in NumPy","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"** EN DISPUTA ** Un desbordamiento de búfer en la función array_from_pyobj del archivo fortranobject.c en NumPy versiones anteriores a 1.19, que permite a atacantes realizar un ataque de denegación de servicio al construir cuidadosamente un array con valores negativos. NOTA: El proveedor no está de acuerdo en que esto sea una vulnerabilidad; las dimensiones negativas sólo pueden ser creadas por un usuario ya privilegiado (o internamente)","source":"nvd"}],"published":"2021-12-17T19:56:35.000Z","modified":"2026-06-17T04:08:34.020Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.19"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.19.0"}],"vendor":"numpy","product":"numpy","cpe":"cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.19.0"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"pysec"}],"references":[{"url":"https://github.com/numpy/numpy/issues/19000","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41496","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/numpy/numpy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-f7c7-j99h-c22f","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-41496","url":"https://www.cve.org/CVERecord?id=CVE-2021-41496","licence":"CVE Terms of Use","modified":"2024-08-04T03:15:28.678Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f7c7-j99h-c22f","url":"https://github.com/advisories/GHSA-f7c7-j99h-c22f","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:59.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-41496","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41496","licence":"Public domain","modified":"2026-06-17T04:08:34.020Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-857","url":"https://osv.dev/vulnerability/PYSEC-2021-857","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:59.274Z"}],"updatedAt":"2026-11-25T22:58:06.074Z","epss":{"score":0.00396,"percentile":0.35903,"date":"2026-12-01T12:00:22.000Z"}}