ADVISORIES

Vulnerability

CVE-2021-41198

TensorFlow is an open source platform for machine learning. In affected versions if `tf.tile` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow. The number of elements in the output tensor is too much for the `int64_t` type and the overflow is detected via a `CHECK` statement. This aborts the process. 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 in PyPI

  • GHSA-2p25-55c9-h58q

    Overflow/crash in `tf.tile` when tiling tensor is large

    Moderate CVE-2021-41198 PyPI Updated 8 July 2026
  • PYSEC-2021-391

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.tile` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow.…

    CVE-2021-41198 PyPI Updated 6 December 2023
  • PYSEC-2021-608

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.tile` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow.…

    CVE-2021-41198 PyPI Updated 6 December 2023
  • PYSEC-2021-806

    TensorFlow is an open source platform for machine learning. In affected versions if `tf.tile` is called with a large input argument then the TensorFlow process will crash due to a `CHECK`-failure caused by an overflow.…

    CVE-2021-41198 PyPI Updated 6 December 2023

References