NULL pointer dereference in TensorFlow - CVE-2021-29516

 

NULL pointer dereference in TensorFlow - CVE-2021-29516

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


Vulnerability identifier: #VU129376
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-29516
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

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

The vulnerability exists due to a null pointer dereference in the RaggedTensorToVariant operation when processing an invalid empty ragged tensor. A local user can supply a crafted invalid ragged tensor to cause a denial of service.


How to mitigate CVE-2021-29516

Install security update from vendor's website.

Sources