Heap-based buffer overflow in TensorFlow - CVE-2021-29583
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 heap-based buffer overflow in tf.raw_ops.FusedBatchNorm when processing crafted tensor inputs. A local user can supply tensors whose scale, offset, mean, or variance sizes do not match the number of channels in x to cause a denial of service.
Empty tensors can also trigger undefined behavior through null pointer dereference.