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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| numpy PyPI | < 1.16.3 | 1.16.3 |
Details and references
- CVSS 3.0
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-502
- Also known as
- CVE-2019-6446, PYSEC-2019-108
- nvd.nist.gov/vuln/detail/CVE-2019-6446
- github.com/numpy/numpy/issues/12759
- github.com/numpy/numpy/pull/12889
- github.com/numpy/numpy/pull/13359
- github.com/numpy/numpy/commit/89b688732b37616c9d26623f81aaee1703c30ffb
- access.redhat.com/errata/RHSA-2019:3335
- access.redhat.com/errata/RHSA-2019:3704
- bugzilla.suse.com/show_bug.cgi?id=1122208
- github.com/advisories/GHSA-9fq2-x9r6-wfmf
- github.com/numpy/numpy
- github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2019-108.yaml
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7ZZAYIQNUUYXGMKHSPEEXS4TRYFOUYE4
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7ZZAYIQNUUYXGMKHSPEEXS4TRYFOUYE4
- web.archive.org/web/20210124234613/https://www.securityfocus.com/bid/106670
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00091.html
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00092.html
- lists.opensuse.org/opensuse-security-announce/2019-10/msg00015.html
- www.securityfocus.com/bid/106670
More NumPy advisories
All NumPy| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 142022 | Arbitrary file write in NumPy | High5.5 | 1.8.1 |
| May 142022 | Numpy arbitrary file write via symlink attack | High5.5 | 1.8.1 |
| May 132022 | Numpy missing input validation | High7.5 | 1.13.3 |
| Feb 82022 | NumPy NULL Pointer Dereference | High7.5 | 1.19 |
| Feb 82022 | Buffer Copy without Checking Size of Input in NumPy | Medium5.5 | 1.19 |
| Jan 72022 | NumPy Buffer Overflow (Disputed) | Medium5.3 | 1.21 |