Input validation error in TensorFlow - CVE-2021-29573
Published: May 13, 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 improper input validation in tf.raw_ops.MaxPoolGradWithArgmax when processing crafted tensors with a zero batch dimension. A local user can supply crafted input, grad, and argmax tensors to trigger a division by zero and cause a denial of service.