Out-of-bounds read in TensorFlow - CVE-2022-35937

 

Out-of-bounds read in TensorFlow - CVE-2022-35937

Published: September 15, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129131
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-35937
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information.

The vulnerability exists due to out-of-bounds read in the GatherNd operation in TensorFlow Lite when parsing crafted input that controls input and output sizes. A remote attacker can supply values greater than or equal to the output sizes to disclose sensitive information.


Affected software

TensorFlow

How to mitigate CVE-2022-35937

Install security update from vendor's website.

TensorFlow - addressed in versions 2.7.4, 2.8.3, 2.9.2, 2.10.0

External References

Related Security Bulletins