Heap-based buffer overflow in TensorFlow - CVE-2021-29529
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 a heap-based buffer overflow in tf.raw_ops.QuantizedResizeBilinear when processing manipulated input values that trigger float rounding errors during image interpolation. A remote attacker can supply crafted input tensors to cause a denial of service.
The issue occurs when rounding causes the computed upper interpolation bound to become smaller than the lower bound, leading to an off-by-one out-of-bounds access.