ADVISORIES

Vulnerability

CVE-2021-41225

TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's Grappler optimizer has a use of unitialized variable. If the `train_nodes` vector (obtained from the saved model that gets optimized) does not contain a `Dequeue` node, then `dequeue_node` is left unitialized. 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.

Medium severity PyPI 4

Advisories

  • GHSA-7r94-xv9v-63jw

    A use of uninitialized value vulnerability in Tensorflow

    Moderate CVE-2021-41225 PyPI Updated 8 July 2026
  • PYSEC-2021-417

    TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's Grappler optimizer has a use of unitialized variable. If the `train_nodes` vector (obtained from the saved model that gets…

    CVE-2021-41225 PyPI Updated 6 December 2023
  • PYSEC-2021-634

    TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's Grappler optimizer has a use of unitialized variable. If the `train_nodes` vector (obtained from the saved model that gets…

    CVE-2021-41225 PyPI Updated 6 December 2023
  • PYSEC-2021-832

    TensorFlow is an open source platform for machine learning. In affected versions TensorFlow's Grappler optimizer has a use of unitialized variable. If the `train_nodes` vector (obtained from the saved model that gets…

    CVE-2021-41225 PyPI Updated 6 December 2023

References