Input validation error in TensorFlow - CVE-2021-29563

 

Input validation error in TensorFlow - CVE-2021-29563

Published: May 13, 2021 / Updated: May 4, 2026


Vulnerability identifier: #VU129329
CSH Severity: Medium
CVSSv4.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-2021-29563
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper input validation in tf.raw_ops.RFFT when processing a crafted fft_length value. A remote attacker can supply a crafted input tensor and fft_length value to cause a denial of service.

An fft_length value of zero can cause Eigen code to operate on an empty matrix, triggering an assertion and terminating the program.


Remediation

Install security update from vendor's website.

External links