Heap-based buffer overflow in TensorFlow - CVE-2021-41219
Published: November 5, 2021 / Updated: May 3, 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 sparse matrix multiplication kernel when processing sparse matrix multiplication with dimensions of a or b equal to 0 or less. A remote attacker can supply crafted input tensors to cause a denial of service.
The issue is triggered by the SparseMatMul raw operation.