NULL pointer dereference in TensorFlow - CVE-2022-23589

 

NULL pointer dereference in TensorFlow - CVE-2022-23589

Published: February 2, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129150
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2022-23589
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 IsConstant constant folding logic and IsIdentityConsumingSwitch when processing a maliciously altered SavedModel file. A remote attacker can supply a specially crafted SavedModel file to cause a denial of service.


How to mitigate CVE-2022-23589

Install security update from vendor's website.

Sources