CVE-2022-23577: TensorFlow - Null Pointer Dereference in GetInitOp

tensorflow Updated 02 Oct 2025

Summary

06/03/2024
Yes i
Medium
Not published

CVE-2022-23577: Null-dereference in Tensorflow. Affects tensorflow across 3 version ranges.

< 2.5.3 >= 2.6.0, < 2.6.3 >= 2.7.0, < 2.7.1

Fixed in 2.5.3, 2.6.3 or 2.7.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2022-23577 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

TensorFlow is an open-source machine learning framework developed by Google. It provides a comprehensive set of tools and libraries for building and deploying machine learning models. TensorFlow is widely used in various domains, including research, industry, and academia. However, a vulnerability has been discovered in TensorFlow that can lead to a crash due to a null pointer dereference in the implementation of the GetInitOp function.

Vulnerability Detail

The vulnerability arises from a flaw in the code that results in the dereferencing of a null pointer. This can occur when the GetInitOp function is called with certain parameters. An attacker could potentially exploit this vulnerability to cause a denial of service (crash) or execute arbitrary code in the context of the affected application. The impact of this vulnerability can range from a temporary disruption of service to a complete compromise of the system.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.5.3 2.5.3
  • >= 2.6.0, < 2.6.3 2.6.3
  • >= 2.7.0, < 2.7.1 2.7.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the official fix by updating to the latest version of TensorFlow.

Conclusion

The vulnerability in TensorFlow, which allows for a null pointer dereference in the GetInitOp function, can have serious consequences, including crashes and potential code execution. It is crucial to update your TensorFlow installation to the latest version that includes the fix for this vulnerability. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for tensorflow →

Share this vulnerability

FAQ

TensorFlow is an open-source machine learning framework developed by Google. It provides tools and libraries for building and deploying machine learning models.

The vulnerability can lead to a crash or potential execution of arbitrary code, compromising the affected application or system.

Update your TensorFlow installation to the latest available version, which includes the fix for this vulnerability.

No, there are no known workarounds for this vulnerability. Updating to the latest version is the recommended solution.

You can find more information about this vulnerability in the official TensorFlow documentation and the vulnerability database.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.5.3 2.5.3
  • >= 2.6.0, < 2.6.3 2.6.3
  • >= 2.7.0, < 2.7.1 2.7.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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