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

 

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

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


Vulnerability identifier: #VU129321
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-29571
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 cause memory corruption.

The vulnerability exists due to an out-of-bounds write in tf.raw_ops.DrawBoundingBoxesV2 when parsing specially crafted input tensors. A remote attacker can supply a crafted boxes tensor with a last dimension smaller than 4 to cause memory corruption.

The issue also involves out-of-bounds reads from heap-allocated data.


Remediation

Install security update from vendor's website.

External links