Input validation error in TensorFlow - CVE-2022-35982

 

Input validation error in TensorFlow - CVE-2022-35982

Published: September 15, 2022 / Updated: May 3, 2026


Vulnerability identifier: #VU129107
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-35982
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 SparseBincount when processing inputs for indices, values, and dense_shape that do not form a valid sparse tensor. A remote attacker can send crafted input to cause a denial of service.


Affected software

TensorFlow

How to mitigate CVE-2022-35982

Install security update from vendor's website.

TensorFlow - addressed in versions 2.7.4, 2.8.3, 2.9.2, 2.10.0

External References

Related Security Bulletins