Input validation error in TensorFlow - CVE-2022-29212

 

Input validation error in TensorFlow - CVE-2022-29212

Published: May 17, 2022 / Updated: May 2, 2026


Vulnerability identifier: #VU129072
CSH Severity: Low
CVSS v4: 5.1 [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]
CVE-ID: CVE-2022-29212
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 handling of quantization scale values in QuantizeMultiplierSmallerThanOneExp when loading a crafted TFLite model with quantization. A remote attacker can supply a specially crafted model to cause a denial of service.

The issue triggers a TFLITE_CHECK_LT assertion and aborts the process.


Affected software

TensorFlow

How to mitigate CVE-2022-29212

Install security update from vendor's website.

TensorFlow - addressed in versions 2.6.4, 2.7.2, 2.8.1, 2.9.0

External References

Related Security Bulletins