Uncontrolled Recursion in TensorFlow - CVE-2022-23591

 

Uncontrolled Recursion in TensorFlow - CVE-2022-23591

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


Vulnerability identifier: #VU129149
CSH Severity: Medium
CVSSv4.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-23591
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

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

The vulnerability exists due to uncontrolled recursion in GraphDef when loading a SavedModel containing a self-recursive function. A remote attacker can supply a crafted SavedModel to cause a denial of service.

The issue is triggered during execution while resolving NodeDef entries for the recursive function.


Remediation

Install security update from vendor's website.

External links