Critical Vulnerability in Python-Numpy: Remote Code Execution Risk

python-numpy Updated 03 Oct 2025

Summary

16/01/2019
N/A
No i
Critical
9.8

UBUNTU-CVE-2019-6446: DISPUTED An issue was discovered in NumPy 1.16.0 and earlier. Affects python-numpy versions 1:1.10.4-2ubuntu2 – 1:1.8.2-1ubuntu3. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Python-Numpy is a widely used library for numerical computations in Python, providing support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays. It is essential for scientific computing and data analysis. However, versions 1.16.0 and earlier have been found to be vulnerable to a security issue that allows remote attackers to execute arbitrary code through unsafe use of the pickle module.

Vulnerability Detail

The vulnerability arises from the unsafe handling of the pickle Python module in NumPy versions 1.16.0 and earlier. This flaw enables remote attackers to execute arbitrary code by crafting a malicious serialized object, particularly through the numpy.load function. The potential ramifications include unauthorized access to system resources, data corruption, and complete system compromise. This issue is disputed by some third parties, who argue that the behavior may have legitimate applications when loading serialized Python object arrays from trusted sources.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using the numpy.load function with untrusted serialized objects. If you must load serialized data, ensure that the source is trusted and authenticated to minimize risk.

Conclusion

In summary, the vulnerability in Python-Numpy poses a significant risk due to its potential for remote code execution. It is essential to update to a patched version of the library and implement best practices for handling serialized objects to safeguard your applications.

See every vulnerability recorded for python-numpy →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of risk.

Versions 1.16.0 and earlier of Python-Numpy are affected by this vulnerability.

If left unaddressed, this vulnerability can allow remote attackers to execute arbitrary code, potentially leading to data breaches or system compromise.

Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Vulert monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json, helping you maintain the security of your software.

Related vulnerabilities

Recent vulnerabilities recorded for python-numpy.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback