Out-of-bounds write in TensorFlow - CVE-2021-29571
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a remote attacker to cause memory corruption.
The vulnerability exists due to an out-of-bounds write in tf.raw_ops.DrawBoundingBoxesV2 when parsing specially crafted input tensors. A remote attacker can supply a crafted boxes tensor with a last dimension smaller than 4 to cause memory corruption.
The issue also involves out-of-bounds reads from heap-allocated data.