Division by zero in TensorFlow - CVE-2021-37653
Published: August 12, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to division by zero in tf.raw_ops.ResourceGather when processing crafted input with batch_dims set to 1. A local user can supply a crafted tensor to trigger a crash via a floating point exception to cause a denial of service.