CVE-2022-41886: TensorFlow GPU Overflow in ImageProjectiveTransformV2

tensorflow-gpu Updated 07 Jul 2026

Summary

07/07/2026
Yes i
Medium
4.8

CVE-2022-41886: Overflow in ImageProjectiveTransformV2. Affects tensorflow-gpu across 3 version ranges.

< 2.8.4 >= 2.9.0, < 2.9.3 >= 2.10.0, < 2.10.1

Fixed in 2.8.4, 2.9.3 or 2.10.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2022-41886 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 that provides a comprehensive ecosystem for building and deploying machine learning models. The 'tensorflow-gpu' package enables users to leverage GPU acceleration for their TensorFlow applications, enhancing performance for computationally intensive tasks. However, like any complex software, TensorFlow is susceptible to vulnerabilities that can impact its functionality and security.

Vulnerability Detail

The vulnerability identified as CVE-2022-41886 arises from an overflow issue in the 'ImageProjectiveTransformV2' operation within TensorFlow. When this operation is provided with a large output shape, it can lead to an overflow, potentially causing unexpected behavior or crashes in applications that rely on this functionality. This issue can be exploited by passing excessively large values for the output shape parameter, which can disrupt the normal operation of the software and may lead to denial of service or other unintended consequences.

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.8.4 2.8.4
    pip install --upgrade "tensorflow-gpu==2.8.4"
  • >= 2.9.0, < 2.9.3 2.9.3
    pip install --upgrade "tensorflow-gpu==2.9.3"
  • >= 2.10.0, < 2.10.1 2.10.1
    pip install --upgrade "tensorflow-gpu==2.10.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 provided for this vulnerability. However, users are advised to avoid using excessively large output shapes when calling the 'ImageProjectiveTransformV2' operation until they can update to a patched version.

Conclusion

CVE-2022-41886 is a significant vulnerability in TensorFlow's 'ImageProjectiveTransformV2' operation that can lead to overflow issues when large output shapes are specified. Users are encouraged to update to the latest patched versions of the 'tensorflow-gpu' package to mitigate this risk. Regular monitoring and updates are essential for maintaining the security of applications using TensorFlow.

See every vulnerability recorded for tensorflow-gpu →

Share this vulnerability

FAQ

CVE-2022-41886 is a vulnerability in TensorFlow's 'ImageProjectiveTransformV2' operation that can lead to an overflow when large output shapes are specified.

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

Exploiting this vulnerability can lead to application crashes or unexpected behavior, potentially resulting in denial of service.

You can update TensorFlow by running the command 'pip install --upgrade tensorflow-gpu==2.10.1' to ensure you have the patched version.

There are no specific workarounds available. It is recommended to avoid using large output shapes until the package is updated.

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.8.4 2.8.4
    pip install --upgrade "tensorflow-gpu==2.8.4"
  • >= 2.9.0, < 2.9.3 2.9.3
    pip install --upgrade "tensorflow-gpu==2.9.3"
  • >= 2.10.0, < 2.10.1 2.10.1
    pip install --upgrade "tensorflow-gpu==2.10.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