Out-of-bounds read in TensorFlow - CVE-2021-37654
Published: August 12, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to an out-of-bounds read in tf.raw_ops.ResourceGather when processing a user-supplied batch_dims value. A remote attacker can supply a crafted batch_dims value greater than the input tensor rank to disclose sensitive information.
In debug builds, the issue can manifest as a CHECK failure instead of an out-of-bounds read.