CVE-2022-29203
Python vulnerability analysis and mitigation

Overview

TensorFlow's implementation of tf.raw_ops.SpaceToBatchND (in all backends such as XLA and handwritten kernels) was found to be vulnerable to an integer overflow prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4. The vulnerability was discovered and disclosed in May 2022, affecting the TensorFlow machine learning platform (GitHub Advisory).

Technical details

The vulnerability occurs when the result of an integer overflow is used to allocate the output tensor, leading to a denial of service through a CHECK-failure (assertion failure). The issue affects all backends including XLA and handwritten kernels. The vulnerability has been assigned a High severity rating (GitHub Advisory).

Impact

When exploited, this vulnerability results in a denial of service via a CHECK-failure (assertion failure). The integer overflow affects the allocation of output tensors, which can cause the application to crash (GitHub Advisory).

Exploitability

The vulnerability can be triggered by providing specific inputs to the tf.raw_ops.SpaceToBatchND operation. A proof of concept includes using a constant input of -3.5e+35 with shape [10,19,22] in float32 format, along with a block_shape constant of -1879048192 (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in TensorFlow versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4. The fix was implemented through GitHub commit acd56b8bcb72b163c834ae4f18469047b001fadf. Users are advised to upgrade to one of these patched versions to mitigate the vulnerability (GitHub Advisory, TF Release).

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-61539CRITICAL10
  • Python logoPython
  • xinference
NoYesAug 21, 2026
CVE-2026-49360HIGH7.8
  • Python logoPython
  • recce
NoYesAug 21, 2026
CVE-2026-68508HIGH7.8
  • Python logoPython
  • hydra-core
NoYesAug 21, 2026
CVE-2026-54457HIGH7.7
  • Python logoPython
  • tensorzero
NoYesAug 21, 2026
CVE-2026-43980MEDIUM6.3
  • Python logoPython
  • malla
NoNoAug 21, 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