ADVISORIES

Vulnerability

CVE-2022-21736

Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseTensorSliceDataset` has an undefined behavior: under certain condition it can be made to dereference a `nullptr` value. The 3 input arguments to `SparseTensorSliceDataset` represent a sparse tensor. However, there are some preconditions that these arguments must satisfy but these are not validated in the implementation. The fix will be included in TensorFlow 2.8.0. We will also cherrypick this commit on TensorFlow 2.7.1, TensorFlow 2.6.3, and TensorFlow 2.5.3, as these are also affected and still in supported range.

4 advisories report this vulnerability, across 1 ecosystem.

High severity PyPI 4

Advisories

  • GHSA-pfjj-m3jj-9jc9

    Undefined behavior in `SparseTensorSliceDataset`

    High CVE-2022-21736 PyPI Updated 10 September 2026
  • PYSEC-2022-115

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseTensorSliceDataset` has an undefined behavior: under certain condition it can be made to dereference a `nullptr` value. The 3 input…

    CVE-2022-21736 PyPI Updated 13 July 2026
  • PYSEC-2022-60

    Tensorflow is an Open Source Machine Learning Framework. The implementation of `SparseTensorSliceDataset` has an undefined behavior: under certain condition it can be made to dereference a `nullptr` value. The 3 input…

    CVE-2022-21736 PyPI Updated 13 July 2026
  • PYSEC-2026-3223

    Undefined behavior in `SparseTensorSliceDataset`

    CVE-2022-21736 PyPI Updated 13 July 2026

References