Skip to content
NumPyGHSA-frgw-fgh6-9g52

Numpy missing input validation

High7.5CVE-2017-12852 · Published May 13, 2022 · updated Nov 8, 2023

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
numpy
PyPI
< 1.13.31.13.3
Details and references

More NumPy advisories

All NumPy
Advisory
Numpy Deserialization of Untrusted Data
Critical9.8May 24, 2022
Arbitrary file write in NumPy
High5.5May 14, 2022
Numpy arbitrary file write via symlink attack
High5.5May 14, 2022
NumPy NULL Pointer Dereference
High7.5Feb 8, 2022
Buffer Copy without Checking Size of Input in NumPy
Medium5.5Feb 8, 2022
NumPy Buffer Overflow (Disputed)
Medium5.3Jan 7, 2022

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.