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

 

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

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


Vulnerability identifier: #VU129198
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-41205
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 out-of-bounds read in the shape inference functions for tf.raw_ops.QuantizeAndDequantizeV* operations when parsing input with a negative axis value other than -1. A local user can supply crafted input to trigger a heap out-of-bounds read and disclose sensitive information.

The issue is triggered when the axis argument is a negative value different from the special optional value -1.


Remediation

Install security update from vendor's website.

External links