Input validation error in TensorFlow - CVE-2021-29530

 

Input validation error in TensorFlow - CVE-2021-29530

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


Vulnerability identifier: #VU129362
CSH Severity: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2021-29530
CWE-ID: CWE-20
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 improper input validation in tf.raw_ops.SparseMatrixSparseCholesky when processing an invalid permutation argument. A local user can provide a specially crafted permutation input to cause a denial of service.

The issue can be triggered by a null pointer dereference after validation fails inside ValidateInputs but execution continues in the caller.


Remediation

Install security update from vendor's website.

External links