Live threats

All CVEs / Numpy

CVE-2021-34141Numpy

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Dec 17, 2021
Updated
Oct 8, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-697
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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."

Original NVD text.

What to do

  1. Apply the vendor's security update for Numpy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI numpy < 1.22 1.22 pip install "numpy>=1.22"
PyPI numpy ≥ 1.9.0 < 1.10.0 1.10.0 pip install "numpy>=1.10.0"

Per OSV / GitHub Advisories (GHSA-fpfv-jqm9-f5jm, PYSEC-2021-855). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
numpynumpy< 1.22.0
oraclecommunications_cloud_native_core_policy22.1.3

Official sources

References

Links published by the sources. Open them with care.