CVE-2018-7575: Buffer Overflow Vulnerability in Google TensorFlow

tensorflow-cpu Updated 02 Oct 2025

Summary

24/04/2019
Yes i
Unrated
Not published

CVE-2018-7575: Google TensorFlow 1.7.x and earlier is affected by a Buffer Overflow vulnerability. The type of exploitation is context-dependent. Affects tensorflow-cpu versions < 1.7.1. Fixed in 1.7.1. How to fix ↓

Also tracked for

The same CVE-2018-7575 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Google TensorFlow is an open-source machine learning framework used for building and training various deep learning models. It provides a comprehensive ecosystem of tools, libraries, and resources for developing artificial intelligence applications. TensorFlow is widely adopted and utilized in both research and production environments. However, versions 1.7.x and earlier of TensorFlow are affected by a Buffer Overflow vulnerability.

Vulnerability Detail

The Buffer Overflow vulnerability in Google TensorFlow allows an attacker to overwrite adjacent memory locations beyond the intended buffer boundaries. This can lead to the execution of arbitrary code or the manipulation of program behavior. The exploitation of this vulnerability is context-dependent, meaning the impact and severity may vary based on the specific usage scenario. Successful exploitation could result in remote code execution, denial of service, or information disclosure.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow-cpu==2.21.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-cpu==1.7.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. It is crucial to apply the recommended fix by updating the TensorFlow package to the patched version.

Conclusion

The Buffer Overflow vulnerability in Google TensorFlow can have severe consequences if left unaddressed. It is crucial to update the TensorFlow package to the latest patched version to mitigate the risk of exploitation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tensorflow-cpu →

Share this vulnerability

FAQ

TensorFlow is an open-source machine learning framework developed by Google. It provides a comprehensive ecosystem for building and training deep learning models.

A Buffer Overflow vulnerability occurs when a program writes data beyond the boundaries of a fixed-size buffer, leading to memory corruption and potential code execution.

The exploitation of this vulnerability requires an attacker to craft a specific input that triggers the Buffer Overflow condition. This can be done through maliciously crafted data or input that exceeds the buffer size.

Successful exploitation of this vulnerability can result in remote code execution, denial of service, or information disclosure. The impact may vary depending on the specific usage scenario.

Yes, the recommended fix is to update the TensorFlow package to version 1.7.1 or later, which includes patches and security enhancements to address the Buffer Overflow vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow-cpu.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow-cpu==2.21.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-cpu==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