Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. numpy
  4. ›
  5. CVE-2021-41496

CVE-2021-41496: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

December 17, 2021 (updated November 7, 2023)

Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values.

References

  • github.com/numpy/numpy/issues/19000
  • nvd.nist.gov/vuln/detail/CVE-2021-41496

Code Behaviors & Features

Detect and mitigate CVE-2021-41496 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.19.0

Fixed versions

  • 1.19.0

Solution

Upgrade to version 1.19.0 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Source file

pypi/numpy/CVE-2021-41496.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:43 +0000.