ADVISORIES

Vulnerability

CVE-2021-41226

TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of the `values` argument and the shape of the sparse output. The fix will be included in TensorFlow 2.7.0. We will also cherrypick this commit on TensorFlow 2.6.1, TensorFlow 2.5.2, and TensorFlow 2.4.4, as these are also affected and still in supported range.

4 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 4

Advisories

  • GHSA-374m-jm66-3vj8

    Heap OOB in `SparseBinCount`

    Moderate CVE-2021-41226 PyPI Updated 8 July 2026
  • PYSEC-2021-418

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of…

    CVE-2021-41226 PyPI Updated 6 December 2023
  • PYSEC-2021-635

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of…

    CVE-2021-41226 PyPI Updated 6 December 2023
  • PYSEC-2021-833

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseBinCount` is vulnerable to a heap OOB access. This is because of missing validation between the elements of…

    CVE-2021-41226 PyPI Updated 6 December 2023

References