NULL pointer dereference in TensorFlow - CVE-2021-37647

 

NULL pointer dereference in TensorFlow - CVE-2021-37647

Published: August 12, 2021 / Updated: May 4, 2026


Vulnerability identifier: #VU129259
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/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-37647
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: TensorFlow
Affected software:
TensorFlow

Detailed vulnerability description

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

The vulnerability exists due to a null pointer dereference in tf.raw_ops.SparseTensorSliceDataset when processing invalid sparse tensor arguments. A remote user can supply empty indices or mismatched sparse tensor inputs to cause a denial of service.


How to mitigate CVE-2021-37647

Install security update from vendor's website.

Sources