CVE catalog

CVE-2021-41496

numpy affected and fixed versions

[CVE catalog]

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)

Severity
Medium · CVSS 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.40% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixienumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debiantrixienumpy1:2.2.4+ds-1Affected[CVE-2021-41496]
DebiansidnumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debiansidnumpy1:2.4.6+ds-5Affected[CVE-2021-41496]
DebianforkynumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debianforkynumpy1:2.4.6+ds-5Affected[CVE-2021-41496]
DebianbookwormnumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debianbookwormnumpy1:1.24.2-1+deb12u1Affected[CVE-2021-41496]
Ubuntu22.04numpy1:1.19.5-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.19.5-1ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.20.2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.21.4-2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]

Showing 12 observations. All 22 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
UnknownRelease not reportednumpyNot reportedUnknownSource applicability is not establishedProvider not reported
DebianbookwormnumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debianbookwormnumpy1:1.24.2-1+deb12u1Affected[CVE-2021-41496]
DebianforkynumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debianforkynumpy1:2.4.6+ds-5Affected[CVE-2021-41496]
DebiansidnumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debiansidnumpy1:2.4.6+ds-5Affected[CVE-2021-41496]
DebiantrixienumpyNot reportedAffectedDistribution reports no fix[CVE-2021-41496]
Debiantrixienumpy1:2.2.4+ds-1Affected[CVE-2021-41496]
Ubuntu20.04numpy1:1.17.3-0ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu20.04numpy1:1.17.4-3ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu20.04numpy1:1.17.4-3ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu20.04numpy1:1.17.4-5ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu20.04numpy1:1.17.4-5ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu20.04numpy1:1.17.4-5ubuntu3.1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.19.5-1ubuntu2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.19.5-1ubuntu3UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.20.2-1ubuntu1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.21.4-2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.21.5-1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.21.5-1build2UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Ubuntu22.04numpy1:1.21.5-1ubuntu22.04.1UnknownSource applicability is not established[UBUNTU-CVE-2021-41496]
Original provider fields
{
  "package_releases": [
    {
      "name": "numpy",
      "status": "vulnerable",
      "release": "sid",
      "version": "1:2.4.6+ds-5"
    },
    {
      "name": "numpy",
      "status": "vulnerable",
      "release": "forky",
      "version": "1:2.4.6+ds-5"
    },
    {
      "name": "numpy",
      "status": "vulnerable",
      "release": "trixie",
      "version": "1:2.2.4+ds-1"
    },
    {
      "name": "numpy",
      "status": "vulnerable",
      "release": "bookworm",
      "version": "1:1.24.2-1+deb12u1"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "numpy",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "numpy",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "numpy",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": ""
    },
    {
      "bug": null,
      "name": "numpy",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": ""
    }
  ],
  "distribution_packages": [
    {
      "name": "numpy",
      "fixed_version": "not yet fixed",
      "applicability_unknown": true
    },
    {
      "name": "numpy",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.17.4-5ubuntu3.1"
            }
          ]
        }
      ],
      "release": "20.04",
      "versions": [
        "1:1.17.3-0ubuntu2",
        "1:1.17.4-3ubuntu1",
        "1:1.17.4-3ubuntu2",
        "1:1.17.4-5ubuntu2",
        "1:1.17.4-5ubuntu3"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-41496",
      "fixed_version": "1:1.17.4-5ubuntu3.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-41496",
      "provider_updated_at": "2026-02-04T03:58:33.737158Z",
      "applicability_unknown": true
    },
    {
      "name": "numpy",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:1.21.5-1ubuntu22.04.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "1:1.19.5-1ubuntu2",
        "1:1.19.5-1ubuntu3",
        "1:1.20.2-1ubuntu1",
        "1:1.21.4-2",
        "1:1.21.5-1",
        "1:1.21.5-1build2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-41496",
      "fixed_version": "1:1.21.5-1ubuntu22.04.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-41496",
      "provider_updated_at": "2026-02-04T03:58:33.737158Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [python3-numpy]Unknown

    Source package: [numpy]

    Details (2)
    • 1:1.24.2-1+deb12u1 · amd64 · bookworm

      Affected

      dsa · numpy · debian · bookworm; dsa · numpy · debian · 12

    • 1:1.24.2-1+deb12u1 · arm64 · bookworm

      Affected

      dsa · numpy · debian · bookworm; dsa · numpy · debian · 12

[Debian 13 (Trixie)]

  • [python3-numpy]Unknown

    Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · amd64 · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · arm64 · trixie

      Affected

      dsa · numpy · debian · 13

  • Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · amd64 · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · arm64 · trixie

      Affected

      dsa · numpy · debian · 13

  • Source package: [numpy]

    Details (2)
    • 1:2.2.4+ds-1 · all · trixie

      Affected

      dsa · numpy · debian · 13

    • 1:2.2.4+ds-1 · all · trixie

      Affected

      dsa · numpy · debian · 13

Observed:

References