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

 

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

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


Vulnerability identifier: #VU129264
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-37641
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 RaggedGather operation when processing invalid ragged tensor arguments. A local user can supply crafted inputs to trigger a read from outside the bounds of heap-allocated buffers to disclose sensitive information.

In debug mode, the same input triggers a CHECK failure.


How to mitigate CVE-2021-37641

Install security update from vendor's website.

Sources