CVE-2018-10055: TensorFlow XLA Compiler Heap Buffer Overflow
Summary
CVE-2018-10055: Invalid memory access and/or a heap buffer overflow in the TensorFlow XLA compiler in Google TensorFlow before 1.7.1 could cause a crash or read from other parts of process memory via a crafted configuration file. Affects tensorflow-gpu versions < 1.7.1. Fixed in 1.7.1. How to fix ↓
Also tracked for
- tensorflow · PyPI
- tensorflow · PyPI
- tensorflow-cpu · PyPI
The same CVE-2018-10055 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
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.
No signup required · Results in about 60 seconds
Background
TensorFlow is an open-source machine learning framework developed by Google. It provides a comprehensive ecosystem of tools, libraries, and resources for building and deploying machine learning models. The TensorFlow XLA compiler is responsible for optimizing and accelerating TensorFlow computations. However, versions prior to 1.7.1 are vulnerable to an invalid memory access and/or heap buffer overflow. This vulnerability can be exploited by a crafted configuration file, leading to crashes or unauthorized access to process memory.
Vulnerability Detail
The vulnerability in the TensorFlow XLA compiler arises from an invalid memory access and/or heap buffer overflow. An attacker can exploit this issue by providing a specially crafted configuration file. When the vulnerable version of TensorFlow processes this file, it may result in a crash or the ability to read data from other parts of the process memory. This can potentially lead to unauthorized access to sensitive information or the execution of arbitrary code. It is crucial to update TensorFlow to version 1.7.1 or newer to mitigate this vulnerability.
How To Fix
Latest published version: 2.12.0 as of 22 Oct 2026
pip install --upgrade "tensorflow-gpu==2.12.0"
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.7.1
This is the first release that contains the fix.
pip install --upgrade "tensorflow-gpu==1.7.1"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update to the fixed version of TensorFlow to ensure the security of the system.
Conclusion
The vulnerability in the TensorFlow XLA compiler can be mitigated by updating the package to version 1.7.1 or later. It is crucial to promptly apply this fix to ensure the security of the system. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tensorflow-gpu →
FAQ
TensorFlow is an open-source machine learning framework developed by Google. It provides tools and resources for building and deploying machine learning models.
The TensorFlow XLA compiler is responsible for optimizing and accelerating TensorFlow computations.
This vulnerability can lead to crashes or unauthorized access to process memory, potentially allowing an attacker to read sensitive information or execute arbitrary code.
To fix this vulnerability, update the TensorFlow package to version 1.7.1 or later using the command 'pip install --upgrade tensorflow-gpu==1.7.1'.
No, there is no known workaround. Updating to the fixed version of TensorFlow is the recommended solution.
References
Related vulnerabilities
Recent vulnerabilities recorded for tensorflow-gpu.