CVE-2021-41496
Python packages · CVE-2021-41496
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)
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.396% · 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:59:58.648Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:31.971Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.098Z | OSV |
| affected | verified | 2026-11-19T12:56:12.498Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:56:12.498Z | 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/19000",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"tags": [
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-04T03:15:28.678Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-f7c7-j99h-c22f",
"aliases": [
"CVE-2021-41496",
"PYSEC-2021-857"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19"
}
]
}
],
"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.2.0",
"1.2.1",
"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/2022/02/GHSA-f7c7-j99h-c22f/GHSA-f7c7-j99h-c22f.json",
"last_known_affected_version_range": "<= 1.18.5"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41496",
"type": "ADVISORY"
},
{
"url": "https://github.com/numpy/numpy/issues/19000",
"type": "WEB"
},
{
"url": "https://github.com/numpy/numpy",
"type": "PACKAGE"
},
{
"url": "https://www.oracle.com/security-alerts/cpujul2022.html",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-120"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-12-17T20:15:00Z",
"github_reviewed_at": "2022-06-21T20:09:56Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2021-857",
"aliases": [
"CVE-2021-41496",
"GHSA-f7c7-j99h-c22f"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.19.0"
}
]
}
],
"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.0rc1",
"1.13.0rc2",
"1.13.1",
"1.13.3",
"1.14.0",
"1.14.0rc1",
"1.14.1",
"1.14.2",
"1.14.3",
"1.14.4",
"1.14.5",
"1.14.6",
"1.15.0",
"1.15.0rc1",
"1.15.0rc2",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.16.0",
"1.16.0rc1",
"1.16.0rc2",
"1.16.1",
"1.16.2",
"1.16.3",
"1.16.4",
"1.16.5",
"1.16.6",
"1.17.0",
"1.17.0rc1",
"1.17.0rc2",
"1.17.1",
"1.17.2",
"1.17.3",
"1.17.4",
"1.17.5",
"1.18.0",
"1.18.0rc1",
"1.18.1",
"1.18.2",
"1.18.3",
"1.18.4",
"1.18.5",
"1.19.0rc1",
"1.19.0rc2",
"1.2.0",
"1.2.1",
"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/pypa/advisory-database/blob/main/vulns/numpy/PYSEC-2021-857.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/numpy/numpy/issues/19000",
"type": "REPORT"
},
{
"url": "https://github.com/advisories/GHSA-f7c7-j99h-c22f",
"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.19 | Official record |
| ecosystem-boundary | PyPI / package | numpy | Not a distribution channel | 1.19.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:18.098ZArchived source JSON
Source publication: 2022-02-08T00:00:56.000Z
Source modification: 2023-11-08T04:06:59.274ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - OSVConsulted: 2026-11-19T12:52:18.098ZArchived source JSON
Source publication: 2021-12-17T20:15:00.000Z
Source modification: 2023-11-08T04:06:59.274ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - CVE ProgramConsulted: 2026-11-19T12:56:12.498ZArchived source JSON
Source publication: 2021-12-17T19:56:35.000Z
Source modification: 2024-08-04T03:15:28.678ZDocument fingerprint
444f3ecfc11f2c3709721d5ea00cfad24f75abde7aef3eb7445b0e7d66461850 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:31.971ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3c1d14159dacc460022fe89f94f80269a255e1b71a5e13cea407b288f5187c5b
Official status history
- UNKNOWN → PUBLISHED · · evidence