Skip to content
Heist/ feed
Back to feed
MediumFix available

numpy — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-33430

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

Products
numpy
Affected versions
Not specified
Fixed versions
1:1.21.4-2
CVEs
CVE-2021-33430
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:58 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-33430

core-osv · Original source

Published 17 Dec 2021, 19:15 UTC

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

osv:DEBIAN-CVE-2021-33430

numpy

Fixed versions: 1:1.21.4-2

numpy

Fixed versions: 1:1.21.4-2

numpy

Fixed versions: 1:1.21.4-2

Complete source record
{
  "id": "faecface4940be5f0634633fd43f8016753be6bf450542763d12e7824d158c7c",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-33430",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-33430",
    "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",
    "evidence": "osv:DEBIAN-CVE-2021-33430",
    "products": [
      {
        "name": {
          "value": "numpy",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.21.4-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "numpy",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.21.4-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "numpy",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:1.21.4-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-33430",
      "aliases": [
        "DEBIAN-CVE-2021-33430"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.21.4-2"
                }
              ]
            }
          ],
          "package": {
            "name": "numpy",
            "purl": "pkg:deb/debian/numpy?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33430.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.21.4-2"
                }
              ]
            }
          ],
          "package": {
            "name": "numpy",
            "purl": "pkg:deb/debian/numpy?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33430.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:1.21.4-2"
                }
              ]
            }
          ],
          "package": {
            "name": "numpy",
            "purl": "pkg:deb/debian/numpy?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-33430.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:59.773465389Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-33430"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-33430"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-33430",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422878,
  "published_at": "2021-12-17T19:15:07.5+00:00"
}