5.5

CVE-2021-41496: numpy Classic Buffer Overflow

CVSS: 5.5v3.1MediumModified
AliasesGHSA-f7c7-j99h-c22fPYSEC-2021-857UBUNTU-CVE-2021-41496
Published 17-12-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-41496 is a medium (CVSS 5.5) Classic Buffer Overflow vulnerability in numpy. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 32.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
32/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.40%
0%100%
Low · +0.03 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 17 · Related 14

Timeline

  1. 17-12-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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)

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.40%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

+0.03 pp

From 0.37% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.40%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Numpy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • numpyAll versions (No fix recorded)
Numpy1 product
PyPI1 product
  • numpy< 1.19 | < 1.19.0
Ubuntu1 product
  • numpy< 1:1.17.4-5ubuntu3.1 | < 1:1.21.5-1ubuntu22.04.1

4 vendors · 4 products

References

11 links
Show all 11 references