Security mailing lists by PureSourceCode

CVE-2017-12852

HIGH 7.5CVSS 3.0

Numpy missing input validation

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.

Published
15 Aug 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-835
Also known as
GHSA-frgw-fgh6-9g52PYSEC-2017-1
Sources
NVDJSONOSV GHSA-frgw-fgh6-9g52JSONOSV PYSEC-2017-1JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 HIGH 7.5 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD numpy numpy
cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*
<= 1.13.1
OSV PyPI numpy < 1.13.3 1.13.3

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 15 Aug 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Aug 2017)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.