Security mailing lists by PureSourceCode

CVE-2021-33430

MEDIUM 5.3CVSS 3.1

NumPy Buffer Overflow (Disputed)

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

Published
17 Dec 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-120
Also known as
GHSA-6p56-wp2h-9hxrPYSEC-2021-854
Sources
NVDJSONOSV GHSA-6p56-wp2h-9hxrJSONOSV PYSEC-2021-854JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD numpy numpy
cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*
>= 1.9.0, <= 1.9.3
OSV PyPI numpy >= 1.9.0, < 1.21 1.21
OSV PyPI numpy >= 1.9.0, < 1.10.0 1.10.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 7 Jan 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.