PYSEC-2026-3340: `CHECK` fail via inputs in `SparseFillEmptyRowsGrad` in Tensorflow
TensorFlow is an open source platform for machine learning. If SparseFillEmptyRowsGrad is given empty inputs, TensorFlow will crash. We have patched the issue in GitHub commit af4a6a3c8b95022c351edae94560acc61253a1b8. The fix will be included in TensorFlow 2.11. We will also cherrypick this commit on TensorFlow 2.10.1, 2.9.3, and TensorFlow 2.8.4, as these are also affected and still in supported range.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
TensorFlowto a version that resolves this vulnerability.Fixed in 2.11Patch af4a6a3c8b95022c351edae94560acc61253a1b8
Event History
Frequently Asked Questions
Which TensorFlow releases are affected or receive the fix?
The issue is fixed in TensorFlow 2.11. TensorFlow 2.10.1, 2.9.3, and 2.8.4 are also affected, and the fix was to be cherrypicked into those supported releases.
What conditions are required to trigger the crash?
An attacker or other input source must be able to cause SparseFillEmptyRowsGrad to receive empty inputs. Exploitation requires network reachability, low privileges, and user interaction, and has high attack complexity according to the supplied vector.
What is the impact if the issue is triggered?
TensorFlow crashes, resulting in a denial of service. The provided impact vector indicates no confidentiality or integrity impact.
What can be done if an updated TensorFlow release cannot be deployed immediately?
Prevent untrusted or malformed empty inputs from reaching SparseFillEmptyRowsGrad. The supplied data does not identify another workaround.