5.3

CVE-2021-34141: numpy Incorrect Comparison

CVSS: 5.3v3.1MediumModified
AliasesGHSA-fpfv-jqm9-f5jmPYSEC-2021-855UBUNTU-CVE-2021-34141
Published 17-12-2021Last modified 08-10-2026

Vulnerability summary

CVE-2021-34141 is a medium (CVSS 5.3) Incorrect Comparison vulnerability in numpy. EPSS estimates a 1.68% chance of exploitation in the next 30 days, higher than 76.5% of scored vulnerabilities. 1 public exploit is recorded.

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

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 17-12-2021
    PublishedVulnerability first disclosed.
  2. 08-10-2026
    Last modifiedVulnerability information updated.

Description

An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.68%

Chance of exploitation in the next 30 days

Percentile

77%

Versus all other CVEs

30-day change

+0.12 pp

From 1.56% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.68%

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
Oracle1 product
PyPI1 product
  • numpy< 1.22 | ≥ 1.9.0, < 1.10.0
Ubuntu1 product
  • numpy< 1:1.17.4-5ubuntu3.1 | < 1:1.21.5-1ubuntu22.04.1

5 vendors · 5 products

References

12 links
Show all 12 references