Heap-based buffer overflow in TensorFlow - CVE-2021-29537
Published: May 13, 2021 / Updated: May 4, 2026
TensorFlow
TensorFlow
Description
The vulnerability allows a local user to cause a denial of service.
The vulnerability exists due to a heap-based buffer overflow in QuantizedResizeBilinear when processing invalid quantization threshold tensors. A local user can pass empty min or max tensors to trigger the overflow and cause a denial of service.
The issue occurs if the min or max input tensors are empty, causing access to element 0 of an empty flattened buffer.