ADVISORIES

Vulnerability

CVE-2021-41222

TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits` contains more than one value and at least one value is negative. 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-cpf4-wx82-gxp6

    Segfault due to negative splits in `SplitV`

    Moderate CVE-2021-41222 PyPI Updated 8 July 2026
  • PYSEC-2021-414

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits`…

    CVE-2021-41222 PyPI Updated 6 December 2023
  • PYSEC-2021-631

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits`…

    CVE-2021-41222 PyPI Updated 6 December 2023
  • PYSEC-2021-829

    TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SplitV` can trigger a segfault is an attacker supplies negative arguments. This occurs whenever `size_splits`…

    CVE-2021-41222 PyPI Updated 6 December 2023

References