Input validation error in TensorFlow - CVE-2021-29561
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 improper input validation in tf.raw_ops.LoadAndRemapMatrix when processing a crafted ckpt_path tensor argument. A remote attacker can send a specially crafted tensor input to cause a denial of service.
The issue is triggered when the operation receives a non-scalar value where a valid scalar checkpoint path is assumed.