Input validation error in TensorFlow - CVE-2022-35987

 

Input validation error in TensorFlow - CVE-2022-35987

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


Vulnerability identifier: #VU129102
CSH Severity: Low
CVSSv4.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-35987
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

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

The vulnerability exists due to improper input validation in the DenseBincount operation when processing input tensors with a weights tensor whose shape differs from the input tensor and is not length-0. A local user can supply crafted tensor inputs to trigger a check failure and cause a denial of service.


Remediation

Install security update from vendor's website.

External links