ADVISORIES

Vulnerability

CVE-2021-41199

TensorFlow is an open source platform for machine learning. In affected versions if `tf.image.resize` 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

  • GHSA-5hx2-qx8j-qjqm

    Overflow/crash in `tf.image.resize` when size is large

    Moderate CVE-2021-41199 PyPI Updated 8 July 2026
  • PYSEC-2021-392

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

    CVE-2021-41199 PyPI Updated 6 December 2023
  • PYSEC-2021-609

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

    CVE-2021-41199 PyPI Updated 6 December 2023
  • PYSEC-2021-807

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

    CVE-2021-41199 PyPI Updated 6 December 2023

References