Input validation error in TensorFlow - CVE-2022-29198

 

Input validation error in TensorFlow - CVE-2022-29198

Published: May 17, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129139
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-29198
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to improper input validation in tf.raw_ops.SparseTensorToCSRSparseMatrix when processing crafted sparse tensor arguments. A remote attacker can send malformed input tensors to trigger a CHECK-failure and cause a denial of service.


Affected software

TensorFlow

How to mitigate CVE-2022-29198

Install security update from vendor's website.

TensorFlow - addressed in versions 2.6.4, 2.7.2, 2.8.1, 2.9.0

External References

Related Security Bulletins