CVE-2022-35938
TensorFlow vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2022-35938) affects the GatherNd function in TensorFlow Lite Micro. The issue was discovered and disclosed in September 2022, where the GatherNd function could trigger an out-of-bounds memory read or crash when the inputs provided are greater than or equal to the sizes of the outputs (TF Advisory).

Technical details

The vulnerability exists in the GatherNd operation implementation where input validation was insufficient. The function takes arguments that determine the sizes of inputs and outputs, but failed to properly validate these parameters before performing memory operations. This could lead to accessing memory locations outside the intended bounds when the inputs given are greater than or equal to the output sizes (TF Advisory).

Impact

When exploited, this vulnerability can cause out-of-bounds memory reads or result in application crashes. This could potentially lead to information disclosure or denial of service conditions in applications using the affected TensorFlow Lite Micro versions (TF Advisory).

Mitigation and workarounds

The issue has been fixed in TensorFlow commit 4142e47e9e31db481781b955ed3ff807a781b494. Users should upgrade to the patched versions: TensorFlow 2.10.0, 2.9.2, 2.8.3, or 2.7.4. The fix includes additional validation checks to verify that an index is valid before performing memory reads (TF Advisory).

Additional resources


SourceThis report was generated using AI

Related TensorFlow vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-0649HIGH8.9
  • TensorFlowTensorFlow
  • cpe:2.3:a:google:tensorflow
NoNoMay 06, 2025
CVE-2025-55559HIGH7.5
  • TensorFlowTensorFlow
  • tensorflow
NoNoSep 25, 2025
CVE-2025-55556MEDIUM6.5
  • TensorFlowTensorFlow
  • cpe:2.3:a:google:tensorflow
NoNoSep 25, 2025
CVE-2024-9681MEDIUM6.5
  • MySQLMySQL
  • curl-minimal-debuginfo
NoYesNov 06, 2024
CVE-2024-11053LOW3.4
  • MySQLMySQL
  • mysql-test
NoYesDec 11, 2024

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