CVE-2021-41224: TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseFillEmptyR
Summary
TensorFlow, an open source machine learning platform, has a vulnerability in the `SparseFillEmptyRows` function that can cause a heap OOB access (out-of-bounds read, where a program tries to read memory it shouldn't access) when the size of `indices` does not match the size of `values`. This is a memory safety bug that could potentially crash the program or expose sensitive data.
Solution / Mitigation
The fix will be included in TensorFlow 2.7.0. The vulnerability is also addressed in TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4 through a cherry-picked commit (a targeted code fix applied to older versions). Users should update to one of these patched versions.
Vulnerability Details
7.1(high)
EPSS: 0.0%
Classification
Affected Vendors
Original source: https://nvd.nist.gov/vuln/detail/CVE-2021-41224
First tracked: February 15, 2026 at 08:40 PM
Classified by LLM (prompt v3) · confidence: 95%