Out-of-bounds read in TensorFlow - CVE-2021-41227

 

Out-of-bounds read in TensorFlow - CVE-2021-41227

Published: November 5, 2021 / Updated: May 3, 2026


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

Description

The vulnerability allows a local user to disclose sensitive information.

The vulnerability exists due to an out-of-bounds read in the ImmutableConst operation when processing a memory region as a TensorFlow string. A local user can supply a crafted memory_region_name and string type parameters to disclose sensitive information.

The issue occurs because the tstring class has a special case for memory mapped strings while the operation itself does not support this datatype.


Remediation

Install security update from vendor's website.

External links