CVE-2022-35994
Python vulnerability analysis and mitigation

Overview

CVE-2022-35994 is a vulnerability in TensorFlow's CollectiveGather operation that was discovered and disclosed in September 2022. The vulnerability affects TensorFlow versions prior to 2.10.0, with patched versions including 2.7.4, 2.8.3, 2.9.2, and 2.10.0. This security issue was identified in the CollectiveGather operation's input validation mechanism (GitHub Advisory).

Technical details

The vulnerability occurs when the CollectiveGather operation receives a scalar input, which triggers a CHECK failure in the operation's validation logic. The issue specifically manifests in Eager mode, as the graph mode already implements input shape validation in the shape inference pass. The fix involved adding explicit rank validation to ensure the input tensor has a rank greater than 0 (GitHub Commit).

Impact

When exploited, this vulnerability can be used to trigger a denial of service (DoS) attack on systems running affected versions of TensorFlow. The impact is considered Low severity according to the official assessment (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in multiple TensorFlow versions: 2.10.0 (main release), 2.9.2, 2.8.3, and 2.7.4. Users are advised to upgrade to these patched versions to mitigate the vulnerability. The fix implements proper input validation to prevent the CHECK failure condition (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-2025-65896CRITICAL9.8
  • PythonPython
  • asyncmy
NoNoDec 02, 2025
CVE-2025-66423HIGH7.1
  • PythonPython
  • tryton-server
NoYesNov 30, 2025
CVE-2025-66454MEDIUM6.5
  • PythonPython
  • arcade-mcp-server
NoYesDec 02, 2025
CVE-2025-66424MEDIUM6.5
  • PythonPython
  • trytond
NoYesNov 30, 2025
CVE-2025-65858LOW3.5
  • PythonPython
  • calibreweb
NoNoDec 02, 2025

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