Integer overflow in TensorFlow - CVE-2022-21733

 

Integer overflow in TensorFlow - CVE-2022-21733

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


Vulnerability identifier: #VU129171
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2022-21733
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to integer overflow in the StringNGrams operation when processing crafted StringNGrams inputs. A local user can supply a negative pad_width value to trigger an out-of-memory condition to cause a denial of service.


How to mitigate CVE-2022-21733

Install security update from vendor's website.

Sources