Out-of-bounds write in TensorFlow - CVE-2021-29566

 

Out-of-bounds write in TensorFlow - CVE-2021-29566

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


Vulnerability identifier: #VU129326
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-29566
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

The vulnerability allows a remote attacker to write outside the bounds of heap allocated arrays.

The vulnerability exists due to out-of-bounds write in tf.raw_ops.Dilation2DBackpropInput when processing invalid arguments. A remote attacker can pass crafted input tensors and parameters to write outside the bounds of heap allocated arrays.


Remediation

Install security update from vendor's website.

External links