{"id":"PYSEC-2021-857","details":"Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy \u003c 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values.","aliases":["CVE-2021-41496","GHSA-f7c7-j99h-c22f"],"modified":"2026-04-24T06:41:26.551442368Z","published":"2021-12-17T20:15:00Z","references":[{"type":"REPORT","url":"https://github.com/numpy/numpy/issues/19000"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f7c7-j99h-c22f"}],"affected":[{"package":{"name":"numpy","ecosystem":"PyPI","purl":"pkg:pypi/numpy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.19.0"}]}],"versions":["0.9.6","0.9.8","1.0","1.0.3","1.0.4","1.0b1","1.0b4","1.0b5","1.0rc1","1.0rc2","1.0rc3","1.1.1","1.10.0","1.10.1","1.10.2","1.10.3","1.10.4","1.11.0","1.11.1","1.11.2","1.11.3","1.12.0","1.12.1","1.13.0","1.13.0rc1","1.13.0rc2","1.13.1","1.13.3","1.14.0","1.14.0rc1","1.14.1","1.14.2","1.14.3","1.14.4","1.14.5","1.14.6","1.15.0","1.15.0rc1","1.15.0rc2","1.15.1","1.15.2","1.15.3","1.15.4","1.16.0","1.16.0rc1","1.16.0rc2","1.16.1","1.16.2","1.16.3","1.16.4","1.16.5","1.16.6","1.17.0","1.17.0rc1","1.17.0rc2","1.17.1","1.17.2","1.17.3","1.17.4","1.17.5","1.18.0","1.18.0rc1","1.18.1","1.18.2","1.18.3","1.18.4","1.18.5","1.19.0rc1","1.19.0rc2","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.5.0","1.5.1","1.6.0","1.6.1","1.6.2","1.7.0","1.7.1","1.7.2","1.8.0","1.8.1","1.8.2","1.9.0","1.9.1","1.9.2","1.9.3"],"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/numpy/PYSEC-2021-857.yaml"}}],"schema_version":"1.7.3"}