ADVISORIES

Vulnerability

CVE-2021-41204

TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault, as these tensors are supposed to not change. 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-786j-5qwq-r36x

    Segfault while copying constant resource tensor

    Moderate CVE-2021-41204 PyPI Updated 8 July 2026
  • PYSEC-2021-397

    TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault,…

    CVE-2021-41204 PyPI Updated 6 December 2023
  • PYSEC-2021-614

    TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault,…

    CVE-2021-41204 PyPI Updated 6 December 2023
  • PYSEC-2021-812

    TensorFlow is an open source platform for machine learning. In affected versions during TensorFlow's Grappler optimizer phase, constant folding might attempt to deep copy a resource tensor. This results in a segfault,…

    CVE-2021-41204 PyPI Updated 6 December 2023

References