PT-2022-16093

CVE-2022-23576

·

Published

2022-02-04

·

Updated

2026-07-09

Description by

CVSS 4.0
7.1
High
MetricsAV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions TensorFlow versions prior to 2.8.0 TensorFlow versions 2.7.1 and earlier TensorFlow versions 2.6.3 and earlier TensorFlow versions 2.5.3 and earlier
Description The implementation of OpLevelCostEstimator::CalculateOutputSize is vulnerable to an integer overflow if an attacker can create an operation which would involve tensors with large enough number of elements. This can occur when there is a large enough number of dimensions in output shape.dim() or a small number of dimensions being large enough to cause an overflow in the multiplication.
Recommendations For versions prior to 2.8.0, update to TensorFlow 2.8.0 or later. For versions 2.7.1 and earlier, update to TensorFlow 2.7.1 or later. For versions 2.6.3 and earlier, update to TensorFlow 2.6.3 or later. For versions 2.5.3 and earlier, update to TensorFlow 2.5.3 or later. As a temporary workaround, consider restricting the number of dimensions in output shape.dim() to prevent integer overflow until a patch is available.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-WM93-F238-7V37
BIT-TENSORFLOW-2022-23576
OPENSUSE-SU-2024:12116-1
PYSEC-2022-140
PYSEC-2022-85
PYSEC-2026-3254
Found an issue in the description? Have something to add? Feel free to write us 👾