Heap-based buffer overflow in TensorFlow - CVE-2021-29612
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 the Eigen implementation of tf.raw_ops.BandedTriangularSolve when processing empty input tensors. A remote attacker can supply crafted tensor inputs to cause a denial of service.
The issue is triggered because input validation does not ensure that the tensors are non-empty, and execution continues even after validation sets a non-OK status.