PT-2022-23043

CVE-2022-35937

·

Published

2022-09-16

·

Updated

2026-07-09

Description by

CVSS 3.1
7.0
High
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.10.0 TensorFlow versions 2.9.1, 2.8.1, and 2.7.2 are also affected
Description The GatherNd function in TensorFlow takes arguments that determine the sizes of inputs and outputs. If the inputs given are greater than or equal to the sizes of the outputs, an out-of-bounds memory read is triggered. This issue has been reported by Hui Peng from Baidu Security.
Recommendations For TensorFlow versions prior to 2.10.0, update to version 2.10.0 or later to resolve the issue. For TensorFlow versions 2.9.1, 2.8.1, and 2.7.2, update to the respective cherrypicked versions to resolve the issue. As a temporary workaround, consider restricting the use of the GatherNd function until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Weakness enumeration
Related identifiers
GHSA-PXRW-J2FV-HX3H
BIT-TENSORFLOW-2022-35937
OPENSUSE-SU-2024:12355-1
PYSEC-2026-1027
PYSEC-2026-3226
PYSEC-2026-3359
Found an issue in the description? Have something to add? Feel free to write us 👾