NULL pointer dereference in TensorFlow - CVE-2021-29518

 

NULL pointer dereference in TensorFlow - CVE-2021-29518

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


Vulnerability identifier: #VU129374
CSH Severity: Low
CVSSv4.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-29518
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available
Vulnerable software:
TensorFlow
Software vendor:
TensorFlow

Description

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

The vulnerability exists due to a null pointer dereference in session operations in eager mode when invoking raw session ops. A local user can call GetSessionTensor or DeleteSessionTensor in eager mode to cause a denial of service.

Eager mode is the default in TensorFlow 2.0 and later.


Remediation

Install security update from vendor's website.

External links