Input validation error in TensorFlow - CVE-2021-37644

 

Input validation error in TensorFlow - CVE-2021-37644

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


Vulnerability identifier: #VU129263
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-37644
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

The vulnerability allows a local user to cause a denial of service.

The vulnerability exists due to improper input validation in TensorListReserve when processing a user-supplied num_elements argument. A local user can supply a negative element count to cause a denial of service.

The issue causes the runtime to abort the process after attempting to resize a std::vector using a negative number of elements.


Remediation

Install security update from vendor's website.

External links