Division by zero in TensorFlow - CVE-2022-21741
Published: February 2, 2022 / Updated: May 3, 2026
Vulnerability identifier: #VU129161
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2022-21741
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow
TensorFlow
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to division by zero in the depthwise convolution implementation in TFLite when parsing a crafted TFLite model. A remote attacker can supply a specially crafted model to cause a denial of service.
How to mitigate CVE-2022-21741
Install security update from vendor's website.