Security mailing lists by PureSourceCode

CVE-2021-41496

MEDIUM 5.5CVSS 3.1

Buffer Copy without Checking Size of Input in 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)

Published
17 Dec 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-120
Also known as
GHSA-f7c7-j99h-c22fPYSEC-2021-857
Sources
NVDJSONOSV GHSA-f7c7-j99h-c22fJSONOSV PYSEC-2021-857JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.1 AV:L/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD numpy numpy
cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*
< 1.19.0 1.19.0
OSV PyPI numpy < 1.19 1.19
OSV PyPI numpy < 1.19.0 1.19.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Dec 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 Dec 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Feb 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.