NULL pointer dereference in TensorFlow - CVE-2021-29616

 

NULL pointer dereference in TensorFlow - CVE-2021-29616

Published: May 13, 2021 / Updated: May 4, 2026


Vulnerability identifier: #VU129276
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-29616
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a null pointer dereference in Grappler's TrySimplify function when optimizing a node with no inputs. A remote attacker can trigger optimization of a crafted graph to cause a denial of service.


How to mitigate CVE-2021-29616

Install security update from vendor's website.

Sources