Skip to content
NumPyGHSA-9fq2-x9r6-wfmf

Numpy Deserialization of Untrusted Data

Critical9.8CVE-2019-6446 · Published May 24, 2022 · updated Jul 6, 2026

** DISPUTED ** An issue was discovered in NumPy 1.16.2 and earlier. It uses the pickle Python module unsafely, which allows remote attackers to execute arbitrary code via a crafted serialized object, as demonstrated by a numpy.load call. NOTE: third parties dispute this issue because it is a behavior that might have legitimate applications in (for example) loading serialized Python object arrays from trusted and authenticated sources.

GitHub advisory

Affected versions

PackageAffectedFixed in
numpy
PyPI
< 1.16.31.16.3
Details and references

More NumPy advisories

All NumPy
Advisory
Arbitrary file write in NumPy
High5.5May 14, 2022
Numpy arbitrary file write via symlink attack
High5.5May 14, 2022
Numpy missing input validation
High7.5May 13, 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.