{"schemaVersion":3,"id":"CVE-2017-12852","aliases":["SUSE-RU-2017:3010-1","SUSE-SU-2022:3954-1","GHSA-frgw-fgh6-9g52","PYSEC-2017-1","UBUNTU-CVE-2017-12852"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2017-08-15T16:00:00.000Z","modified":"2024-08-05T18:51:06.687Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.02715,"percentile":0.85879,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.10700000000000015,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.02608},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02715,"percentile":0.85879}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.02608,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02715,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02715,"percentile":0.85879}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_NUMPY_NUMPY","name":"Numpy","source":"github","url":"https://github.com/numpy/numpy/issues/9560#issuecomment-322395292","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition ('Infinite Loop')","description":"The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/835.html"}],"affected":[{"vendor":"ubuntu","product":"python-numpy","name":"python-numpy","label":"python-numpy","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-numpy","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"numpy","product":"numpy","name":"numpy","label":"numpy","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 1.13.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 1.13.1","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"numpy","label":"NumPy","category":"framework"}},"hubHref":"/vendor/numpy/numpy"},{"vendor":"PyPI","product":"numpy","name":"numpy","label":"numpy","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/numpy","purlType":"pypi","versions":[{"text":"< 1.13.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.3","eol":null,"hubHref":null},{"vendor":"suse","product":"python-numpy_1_13_3-gnu-hpc&distro=SUSE Linux Enterprise Module for HPC 12","name":"python-numpy_1_13_3-gnu-hpc","label":"python-numpy_1_13_3-gnu-hpc&distro=SUSE Linux Enterprise Module for HPC 12","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-numpy_1_13_3-gnu-hpc&distro=SUSE Linux Enterprise Module for HPC 12","purlType":"rpm","versions":[{"text":"< 1.13.3-4.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.13.3-4.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-numpy&distro=SUSE Linux Enterprise Server 12 SP5","name":"python-numpy","label":"python-numpy&distro=SUSE Linux Enterprise Server 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-numpy&distro=SUSE Linux Enterprise Server 12 SP5","purlType":"rpm","versions":[{"text":"< 1.8.0-5.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.0-5.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-numpy&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","name":"python-numpy","label":"python-numpy&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-numpy&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5","purlType":"rpm","versions":[{"text":"< 1.8.0-5.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.0-5.19.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-numpy&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","name":"python-numpy","label":"python-numpy&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-numpy&distro=SUSE Linux Enterprise Software Development Kit 12 SP5","purlType":"rpm","versions":[{"text":"< 1.8.0-5.19.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.0-5.19.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852","label":"github.com/BT123/testcasesForMyRequest/tree/master/CVE-2017-12852","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/numpy/numpy/issues/9560#issuecomment-322395292","label":"github.com/numpy/numpy/issues/9560","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory","WEB","REPORT"]},{"url":"https://www.suse.com/support/update/announcement//suse-ru-20173010-1/","label":"www.suse.com/support/update/announcement//suse-ru-20173010-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1053963","label":"bugzilla.suse.com/1053963","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://bugzilla.suse.com/1066748","label":"bugzilla.suse.com/1066748","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2017-12852","label":"www.suse.com/security/cve/CVE-2017-12852","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://www.suse.com/support/update/announcement/2022/suse-su-20223954-1/","label":"www.suse.com/support/update/announcement/2022/suse-su-20223954-1/","hostname":"www.suse.com","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1199500","label":"bugzilla.suse.com/1199500","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-12852","label":"nvd.nist.gov/vuln/detail/CVE-2017-12852","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/advisories/GHSA-frgw-fgh6-9g52","label":"github.com/advisories/GHSA-frgw-fgh6-9g52","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/numpy/numpy","label":"github.com/numpy/numpy","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/numpy/numpy/releases/tag/v1.13.3","label":"github.com/numpy/numpy/releases/tag/v1.13.3","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2017-1.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2017-1.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2017-12852","label":"ubuntu.com/security/CVE-2017-12852","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-12852","label":"www.cve.org/CVERecord?id=CVE-2017-12852","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2024:11243-1","OPENSUSE-SU-2024:13820-1","OPENSUSE-SU-2024:14311-1","OPENSUSE-SU-2026:11371-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:11243-1","OPENSUSE-SU-2024:13820-1","OPENSUSE-SU-2024:14311-1","OPENSUSE-SU-2026:11371-1"]},"timeline":[{"kind":"published","date":"2017-08-15T16:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T18:51:06.687Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T05:37:13.203Z","stale":false,"partial":false}}