CVE-2022-29192: TensorFlow GPU - Missing Input Validation in QuantizeAndDequantizeV4Grad Leading to Denial of Service

tensorflow-gpu Updated 07 Jul 2026

Summary

06/07/2026
Yes i
Medium
5.5

CVE-2022-29192: Missing validation crashes QuantizeAndDequantizeV4Grad. Affects tensorflow-gpu across 3 version ranges.

< 2.6.4 >= 2.7.0, < 2.7.2 >= 2.8.0, < 2.8.1

Fixed in 2.6.4, 2.7.2 or 2.8.1, depending on the release line you run. How to fix ↓

Also tracked for

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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 library widely used for various applications, including deep learning and neural networks. The 'tensorflow-gpu' package enables the use of GPU acceleration for TensorFlow operations, significantly improving performance for large-scale computations. However, like any complex software, it can have vulnerabilities that may affect its stability and security.

Vulnerability Detail

The vulnerability arises from the implementation of the 'tf.raw_ops.QuantizeAndDequantizeV4Grad' operation, which lacks proper validation for its input arguments. Specifically, the function assumes that 'input_min' and 'input_max' are scalars but does not validate this assumption. As a result, passing incorrect shapes for these parameters can lead to a CHECK-failure, which can be exploited to trigger a denial of service attack. This vulnerability can disrupt the normal functioning of applications relying on TensorFlow, potentially leading to service outages.

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 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.6.4 2.6.4
    pip install --upgrade "tensorflow-gpu==2.6.4"
  • >= 2.7.0, < 2.7.2 2.7.2
    pip install --upgrade "tensorflow-gpu==2.7.2"
  • >= 2.8.0, < 2.8.1 2.8.1
    pip install --upgrade "tensorflow-gpu==2.8.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. However, avoiding the use of the 'QuantizeAndDequantizeV4Grad' operation with invalid input shapes can prevent triggering the denial of service.

Conclusion

In summary, CVE-2022-29192 is a significant vulnerability in the TensorFlow GPU package that can lead to denial of service due to missing input validation in a specific operation. It is crucial to update to the patched versions to mitigate this risk and ensure the stability of applications using TensorFlow.

See every vulnerability recorded for tensorflow-gpu →

Share this vulnerability

FAQ

CVE-2022-29192 is a vulnerability in the TensorFlow GPU package that results from missing input validation in the QuantizeAndDequantizeV4Grad operation, potentially leading to denial of service.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

Exploiting this vulnerability can lead to a denial of service, causing disruptions in applications that rely on TensorFlow for processing.

The affected versions include TensorFlow 2.6.0 to 2.8.0. The vulnerability has been patched in versions 2.6.4, 2.7.2, 2.8.1, and 2.9.0.

Vulert monitors and alerts in real-time for open-source vulnerabilities in software using just the Pipfile.lock, helping developers stay informed about potential risks.

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 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.6.4 2.6.4
    pip install --upgrade "tensorflow-gpu==2.6.4"
  • >= 2.7.0, < 2.7.2 2.7.2
    pip install --upgrade "tensorflow-gpu==2.7.2"
  • >= 2.8.0, < 2.8.1 2.8.1
    pip install --upgrade "tensorflow-gpu==2.8.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