CVE-2021-34141
Python packages · CVE-2021-34141
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."
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 1.679% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:31.142Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.098Z | OSV |
| affected | verified | 2026-11-19T12:56:00.257Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:00.257Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://github.com/numpy/numpy/issues/18993",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T00:05:52.187Z"
}
},
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2021-34141",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-10-08T20:55:32.169876Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-10-08T21:03:14.497Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-fpfv-jqm9-f5jm",
"aliases": [
"CVE-2021-34141",
"PYSEC-2021-855"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.22"
}
]
}
],
"package": {
"name": "numpy",
"purl": "pkg:pypi/numpy",
"ecosystem": "PyPI"
},
"versions": [
"0.9.6",
"0.9.8",
"1.0",
"1.0.3",
"1.0.4",
"1.0b1",
"1.0b4",
"1.0b5",
"1.0rc1",
"1.0rc2",
"1.0rc3",
"1.1.1",
"1.10.0",
"1.10.1",
"1.10.2",
"1.10.3",
"1.10.4",
"1.11.0",
"1.11.1",
"1.11.2",
"1.11.3",
"1.12.0",
"1.12.1",
"1.13.0",
"1.13.1",
"1.13.3",
"1.14.0",
"1.14.1",
"1.14.2",
"1.14.3",
"1.14.4",
"1.14.5",
"1.14.6",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.16.0",
"1.16.1",
"1.16.2",
"1.16.3",
"1.16.4",
"1.16.5",
"1.16.6",
"1.17.0",
"1.17.1",
"1.17.2",
"1.17.3",
"1.17.4",
"1.17.5",
"1.18.0",
"1.18.1",
"1.18.2",
"1.18.3",
"1.18.4",
"1.18.5",
"1.19.0",
"1.19.1",
"1.19.2",
"1.19.3",
"1.19.4",
"1.19.5",
"1.2.0",
"1.2.1",
"1.20.0",
"1.20.1",
"1.20.2",
"1.20.3",
"1.21.0",
"1.21.1",
"1.21.2",
"1.21.3",
"1.21.4",
"1.21.5",
"1.21.6",
"1.3.0",
"1.4.0",
"1.4.1",
"1.5.0",
"1.5.1",
"1.6.0",
"1.6.1",
"1.6.2",
"1.7.0",
"1.7.1",
"1.7.2",
"1.8.0",
"1.8.1",
"1.8.2",
"1.9.0",
"1.9.1",
"1.9.2",
"1.9.3"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-fpfv-jqm9-f5jm/GHSA-fpfv-jqm9-f5jm.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-34141",
"type": "ADVISORY"
},
{
"url": "https://github.com/numpy/numpy/issues/18993",
"type": "WEB"
},
{
"url": "https://github.com/numpy/numpy/issues/18993#issuecomment-1010735102",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-fpfv-jqm9-f5jm",
"type": "ADVISORY"
},
{
"url": "https://github.com/numpy/numpy",
"type": "PACKAGE"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-855.yaml",
"type": "WEB"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-697"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-12-17T19:15:00Z",
"github_reviewed_at": "2022-06-21T20:12:53Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2021-855",
"aliases": [
"CVE-2021-34141",
"GHSA-fpfv-jqm9-f5jm"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.9.0"
},
{
"fixed": "1.10.0"
}
]
}
],
"package": {
"name": "numpy",
"purl": "pkg:pypi/numpy",
"ecosystem": "PyPI"
},
"versions": [
"1.9.0",
"1.9.1",
"1.9.2",
"1.9.3"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/numpy/PYSEC-2021-855.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/numpy/numpy/issues/18993",
"type": "REPORT"
},
{
"url": "https://github.com/advisories/GHSA-fpfv-jqm9-f5jm",
"type": "ADVISORY"
}
],
"relatedGitRanges": [],
"database_specific": {}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | PyPI / package | numpy | Not a distribution channel | 1.22 | Official record |
| ecosystem-boundary | PyPI / package | numpy | Not a distribution channel | 1.10.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - OSVConsulted: 2026-11-19T12:52:18.098ZArchived source JSON
Source publication: 2021-12-18T00:00:41.000Z
Source modification: 2023-11-08T04:06:07.388ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - OSVConsulted: 2026-11-19T12:52:18.098ZArchived source JSON
Source publication: 2021-12-17T19:15:00.000Z
Source modification: 2023-11-08T04:06:07.388ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - CVE ProgramConsulted: 2026-11-19T12:56:00.257ZArchived source JSON
Source publication: 2021-12-17T18:43:17.000Z
Source modification: 2026-10-08T21:03:14.497ZDocument fingerprint
c5a902b34c6fbf7f66446914db80155a073f2b9a11838f8260e1756dcfc5b70e - FIRST EPSSConsulted: 2026-11-19T16:04:31.142ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
1ec966160a99daaa157708e29f422ef8bc564d7c2f2a51496cdad23992447759
Official status history
- UNKNOWN → PUBLISHED · · evidence