Division by zero in TensorFlow - CVE-2022-35996

 

Division by zero in TensorFlow - CVE-2022-35996

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


Vulnerability identifier: #VU129094
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-35996
CWE-ID: CWE-369
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 division by zero in the Conv2D operation when processing an empty input tensor with valid filter and padding sizes. A remote attacker can supply crafted input values to cause a denial of service.

The issue can be triggered on CPU and GPU.


Affected software

TensorFlow

How to mitigate CVE-2022-35996

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