CVE-2022-35937
Python vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-35937 is an out-of-bounds memory read issue in TensorFlow's GatherNd operation. The vulnerability was discovered and disclosed in September 2022, affecting TensorFlow versions prior to 2.10.0. The issue occurs in the GatherNd function when the input parameters are greater than or equal to the sizes of the outputs (GitHub Advisory).

Technical details

The vulnerability exists in the GatherNd operation implementation where input validation was insufficient. When the inputs provided to the GatherNd function exceed or equal the output sizes, it triggers an out-of-bounds memory read condition. The issue was patched in commit 595a65a3e224a0362d7e68c2213acfc2b499a196, which added proper bounds checking to prevent invalid memory access (GitHub Advisory).

Impact

The vulnerability allows for out-of-bounds memory reads, which could potentially lead to information disclosure or program crashes. The severity of this vulnerability was rated as Low according to the official assessment (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in TensorFlow versions 2.7.4, 2.8.3, 2.9.2, and 2.10.0. Users are advised to upgrade to these patched versions. The fix includes additional validation checks to prevent out-of-bounds memory access (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-23949HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 20, 2026
CVE-2026-22219HIGH8.3
  • PythonPython
  • chainlit
NoYesJan 20, 2026
CVE-2026-23842HIGH7.5
  • PythonPython
  • chatterbot
NoYesJan 19, 2026
CVE-2026-23877MEDIUM5.3
  • PythonPython
  • swingmusic
NoYesJan 19, 2026
CVE-2026-23833LOW1.7
  • PythonPython
  • esphome
NoYesJan 19, 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