Read the docs
TI-2021-12844 Aliases CVE-2021-33430GHSA-6p56-wp2h-9hxr

A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int…

Priority LOW 27CWE-120Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 4 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-120 and the CVSS impact.

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

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01529 74th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial numpy (PyPI): 1.21Red Hat: 2 advisoriesRed Hat: 2 fixed, 4 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—numpy (PyPI)1.9.0 to before 1.211.21Patch availableGHSA-6p56-wp2h-9hxr
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • numpy (PyPI) Vendor— Affected 1.9.0 to before 1.21 Fixed in 1.21 Patch available GHSA-6p56-wp2h-9hxr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*1.9.0 – 1.9.3VulnerableNumpy
  • cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:* Versions 1.9.0 – 1.9.3 Vulnerable ·Numpy

Remediation

  • Fix · GHSA-6p56-wp2h-9hxr numpy (PyPI) Fixed in 1.21 Advisory →

Red Hat 2 advisories

  • RHSA-2022:0987 Released 2022-03-24 · Red Hat rating Moderate
    Red Hat OpenStack Platform 16.1 (numpy) security update
    • Red Hat OpenStack Platform 16.1 numpy-1:1.17.0-8.el8ost, python3-numpy-1:1.17.0-8.el8ost, python3-numpy-f2py-1:1.17.0-8.el8ost
  • RHSA-2022:1000 Released 2022-03-23 · Red Hat rating Moderate
    Red Hat OpenStack Platform 16.2 (numpy) security update
    • Red Hat OpenStack Platform 16.2 numpy-1:1.17.0-8.el8ost, python3-numpy-1:1.17.0-8.el8ost, python3-numpy-f2py-1:1.17.0-8.el8ost

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat Software CollectionsAffectedNo fix planned: Will not fix
Red Hat OpenStack Platform 16.1Fixed RHSA-2022:0987
Red Hat OpenStack Platform 16.2Fixed RHSA-2022:1000
Not affected: 3 products
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Software Collections

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-33430
  2. 2026-10-03 Alias added: GHSA-6p56-wp2h-9hxr

References

  • TI-2019-04516 An issue was discovered in NumPy before 1.16.3. CVSS 3.0CRITICAL 9.8
  • TI-2017-09516 The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. CVSS 3.0HIGH 7.5
  • TI-2021-13284 An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows… CVSS 3.1MEDIUM 5.3
  • TI-2021-18253 Null Pointer Dereference vulnerability exists in numpy.sort in NumPy &lt and 1.19 in the… CVSS 3.1MEDIUM 5.3
  • TI-2021-18254 Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19… CVSS 3.1MEDIUM 5.5
  • TI-2014-01452 (1) core/tests/test_memmap.py, (2) core/tests/test_multiarray.py, (3) f2py/f2py2e.py, and… CVSS 3.0MEDIUM 5.5
See all 7 →

Sources