CVE-2022-36002
Python vulnerability analysis and mitigation

Overview

CVE-2022-36002 is a vulnerability in TensorFlow's Unbatch operation that was discovered and disclosed in September 2022. The vulnerability affects TensorFlow versions prior to 2.10.0, including versions 2.7.x, 2.8.x, and 2.9.x. When the Unbatch operation receives a non-scalar input ID, it triggers a CHECK failure that could lead to a denial of service condition (GitHub Advisory).

Technical details

The vulnerability occurs in the Unbatch operation when it receives a non-scalar input for the ID parameter. The issue lies in the insufficient validation of input parameters, where the code fails to properly check whether the input ID is a scalar before attempting to extract its value. This results in a CHECK failure that can crash the application (GitHub Commit).

Impact

The primary impact of this vulnerability is the potential for denial of service attacks. When exploited, the vulnerability causes the application to crash due to the CHECK failure, disrupting the normal operation of TensorFlow-based applications (GitHub Advisory).

Exploitability

The vulnerability can be triggered by providing a non-scalar input ID to the Unbatch operation. A proof-of-concept exploit involves using TensorFlow's constant operation with a multi-dimensional array as the ID parameter. The attack requires the ability to control the input parameters to the Unbatch operation (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0. The fix involves adding proper input validation to check whether the input ID is scalar before processing it. Users are advised to upgrade to these patched versions to mitigate the vulnerability (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59177HIGH8.8
  • Python logoPython
  • esphome-device-builder
NoYesSep 09, 2026
CVE-2026-88005MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 10, 2026
CVE-2026-88002MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 09, 2026
CVE-2026-88000MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesSep 09, 2026
CVE-2026-88001MEDIUM5
  • Python logoPython
  • open-webui
NoYesSep 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management