Use-after-free in TensorFlow - CVE-2021-41220
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 use-after-free in the async implementation of CollectiveReduceV2 when processing crafted input to the operation. A remote attacker can invoke the operation with crafted arguments to cause a denial of service.
The issue can also manifest as memory leaks or std::bad_alloc exceptions due to undefined behavior in error handling.