CVE-2017-12852
Python packages · CVE-2017-12852
The numpy.pad function in Numpy 1.13.1 and older versions is missing input validation. An empty list or ndarray will stick into an infinite loop, which can allow attackers to cause a DoS attack.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 2.737% · score date 2026-11-18. 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-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:54.299Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:18.098Z | OSV |
| affected | verified | 2026-11-19T12:54:54.925Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:54.925Z | 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/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "https://github.com/numpy/numpy/issues/9560#issuecomment-322395292",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T18:51:06.687Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-frgw-fgh6-9g52",
"aliases": [
"CVE-2017-12852",
"PYSEC-2017-1"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.3"
}
]
}
],
"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.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/05/GHSA-frgw-fgh6-9g52/GHSA-frgw-fgh6-9g52.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2017-12852",
"type": "ADVISORY"
},
{
"url": "https://github.com/numpy/numpy/issues/9560#issuecomment-322395292",
"type": "WEB"
},
{
"url": "https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-frgw-fgh6-9g52",
"type": "ADVISORY"
},
{
"url": "https://github.com/numpy/numpy",
"type": "PACKAGE"
},
{
"url": "https://github.com/numpy/numpy/releases/tag/v1.13.3",
"type": "WEB"
},
{
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2017-1.yaml",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-835"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2017-08-15T16:29:00Z",
"github_reviewed_at": "2022-06-17T21:05:33Z"
}
}Archived source JSONOSV · osv · full conditions
{
"id": "PYSEC-2017-1",
"aliases": [
"CVE-2017-12852",
"GHSA-frgw-fgh6-9g52"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.13.3"
}
]
}
],
"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.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-2017-1.yaml"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/numpy/numpy/issues/9560#issuecomment-322395292",
"type": "REPORT"
},
{
"url": "https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-frgw-fgh6-9g52",
"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.13.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:54.925ZArchived source JSON
Source publication: 2017-08-15T16:00:00.000Z
Source modification: 2024-08-05T18:51:06.687ZDocument fingerprint
57dcd6ea6a239cf7906c217a76db887caff40a32688e30290ed41c17ed92451e - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived 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: 2022-05-13T01:42:46.000Z
Source modification: 2023-11-08T03:58:54.336ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - OSVConsulted: 2026-11-19T12:52:18.098ZArchived source JSON
Source publication: 2017-08-15T16:29:00.000Z
Source modification: 2023-11-08T03:58:54.336ZDocument fingerprint
add3981fb1450f45551da9727f2a8157f9701a07dd60b19039c20754ff25da7e - FIRST EPSSConsulted: 2026-11-19T12:59:54.299ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
3125722b6baaadf93963ea939ab80fab306c9b43805f893ce32ce99cd33e15f4
Official status history
- UNKNOWN → PUBLISHED · · evidence