Live threats

All CVEs / Google

CVE-2020-15266Google Tensorflow

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Oct 21, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

In Tensorflow before version 2.4.0, when the `boxes` argument of `tf.image.crop_and_resize` has a very large value, the CPU kernel implementation receives it as a C++ `nan` floating point value. Attempting to operate on this is undefined behavior which later produces a segmentation fault. The issue is patched in eccb7ec454e6617738554a255d77f08e60ee0808 and TensorFlow 2.4.0 will be released containing the patch. TensorFlow nightly packages after this commit will also have the issue resolved.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tensorflow.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tensorflow < 2.4.0 2.4.0 pip install "tensorflow>=2.4.0"
PyPI tensorflow < 2.4.0 2.4.0 pip install "tensorflow>=2.4.0"
PyPI tensorflow-cpu < 2.4.0 2.4.0 pip install "tensorflow-cpu>=2.4.0"
PyPI tensorflow-cpu < 2.4.0 2.4.0 pip install "tensorflow-cpu>=2.4.0"
PyPI tensorflow-gpu < 2.4.0 2.4.0 pip install "tensorflow-gpu>=2.4.0"
PyPI tensorflow-gpu < 2.4.0 2.4.0 pip install "tensorflow-gpu>=2.4.0"

Per OSV / GitHub Advisories (GHSA-xwhf-g6j5-j5gc, PYSEC-2020-139, PYSEC-2020-296, PYSEC-2020-331). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow< 2.4.0

Official sources

References

Links published by the sources. Open them with care.