Out-of-bounds write in TensorFlow - CVE-2022-23561

 

Out-of-bounds write in TensorFlow - CVE-2022-23561

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


Vulnerability identifier: #VU129159
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-23561
CWE-ID: CWE-787
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 perform an arbitrary write.

The vulnerability exists due to out-of-bounds write in TFLite when parsing a crafted TFLite model. A remote attacker can supply a specially crafted model to perform an arbitrary write.

Under certain conditions, the issue can override the linked list used by the memory allocator.


How to mitigate CVE-2022-23561

Install security update from vendor's website.

Sources