Division by zero in TensorFlow - CVE-2021-37691

 

Division by zero in TensorFlow - CVE-2021-37691

Published: August 12, 2021 / Updated: May 3, 2026


Vulnerability identifier: #VU129213
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-37691
CWE-ID: CWE-369
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
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 LSH 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-2021-37691

Install security update from vendor's website.

Sources