CVE-2018-10055: TensorFlow XLA Compiler Heap Buffer Overflow

tensorflow-gpu Updated 02 Oct 2025

Summary

24/04/2019
Yes i
Unrated
Not published

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

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.

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

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

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow-gpu.

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 →

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