Integer overflow in TensorFlow - CVE-2022-23575

 

Integer overflow in TensorFlow - CVE-2022-23575

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


Vulnerability identifier: #VU129156
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-2022-23575
CWE-ID: CWE-190
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 an integer overflow.

The vulnerability exists due to integer overflow in OpLevelCostEstimator::CalculateTensorSize when calculating the size of a tensor with a large enough number of elements. A remote attacker can create an operation involving a tensor with a sufficiently large element count to cause an integer overflow.


How to mitigate CVE-2022-23575

Install security update from vendor's website.

Sources