Heap-based buffer overflow in TensorFlow - CVE-2021-29560
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 heap-based buffer overflow in tf.raw_ops.RaggedTensorToTensor when processing user-controlled ragged tensor input. A remote attacker can supply crafted input shapes and row partition tensors to cause a denial of service.
The issue can be triggered when parent_output_index is shorter than row_split.