Division by zero in TensorFlow - CVE-2021-29585
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to division by zero in ComputeOutSize in the TFLite padding computation when parsing a specially crafted model with a stride value of 0. A remote attacker can supply a specially crafted model to cause a denial of service.