Out-of-bounds read in TensorFlow - CVE-2021-37687

 

Out-of-bounds read in TensorFlow - CVE-2021-37687

Published: August 12, 2021 / Updated: May 3, 2026


Vulnerability identifier: #VU129216
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-37687
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

The vulnerability allows a local user to disclose sensitive information.

The vulnerability exists due to an out-of-bounds read in the TFLite Gather and GatherNd implementations when parsing a crafted model containing negative indices. A local user can supply a crafted model with negative values in indices to disclose sensitive information.


How to mitigate CVE-2021-37687

Install security update from vendor's website.

Sources