Input validation error in TensorFlow - CVE-2021-29609
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to cause a denial of service or corrupt memory.
The vulnerability exists due to improper input validation in the SparseAdd operation when processing invalid sparse tensor inputs. A remote attacker can send crafted tensor triples to cause a denial of service or corrupt memory.
The issue can be triggered by empty tensors or by providing *_indices tensors whose second dimension does not match the size of the corresponding *_shape tensor.