CVE-2022-23565: TensorFlow CHECK Failures Leading to Denial of Service

tensorflow Updated 18 Jul 2026

Summary

09/07/2026
Yes i
High
6.5

CVE-2022-23565: CHECK-failures 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-23565 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

TensorFlow is an open-source machine learning framework developed by Google. It is widely used for building and deploying machine learning models across various platforms. TensorFlow supports deep learning and offers a flexible architecture that allows developers to create complex neural networks. However, like any software, it is susceptible to vulnerabilities that can affect its stability and security.

Vulnerability Detail

The vulnerability arises from CHECK-failures in TensorFlow, where an attacker can exploit assertion failures by modifying a SavedModel on disk. This alteration can lead to the duplication of AttrDefs for certain operations, ultimately causing a denial of service. The issue is significant as it can disrupt the functioning of applications relying on TensorFlow, potentially leading to service outages or crashes.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 2.5.3 2.5.3
    pip install --upgrade "tensorflow==2.5.3"
  • >= 2.6.0, < 2.6.3 2.6.3
    pip install --upgrade "tensorflow==2.6.3"
  • >= 2.7.0, < 2.7.1 2.7.1
    pip install --upgrade "tensorflow==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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches by upgrading to the recommended versions of TensorFlow.

Conclusion

The CVE-2022-23565 vulnerability in TensorFlow poses a significant risk by allowing denial of service through assertion failures. It is crucial for users to update to the patched versions to ensure the security and stability of their applications. Regular monitoring for vulnerabilities using tools like Vulert can help maintain a secure environment.

See every vulnerability recorded for tensorflow →

Share this vulnerability

FAQ

CVE-2022-23565 is a vulnerability in TensorFlow that allows attackers to trigger denial of service through assertion failures by altering a SavedModel.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The vulnerability affects TensorFlow versions prior to 2.8.0, including 2.5.3, 2.6.3, and 2.7.1.

The main consequence is a denial of service, which can disrupt applications relying on TensorFlow, leading to potential service outages.

You can update TensorFlow by running the command: pip install --upgrade tensorflow==2.8.0 in your terminal or command prompt.

Related vulnerabilities

Recent vulnerabilities recorded for tensorflow.

How To Fix

Latest published version: 2.21.0 as of 22 Oct 2026

pip install --upgrade "tensorflow==2.21.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

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

  • < 2.5.3 2.5.3
    pip install --upgrade "tensorflow==2.5.3"
  • >= 2.6.0, < 2.6.3 2.6.3
    pip install --upgrade "tensorflow==2.6.3"
  • >= 2.7.0, < 2.7.1 2.7.1
    pip install --upgrade "tensorflow==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