Live threats

All CVEs / Google

CVE-2020-26266Google Tensorflow

Medium 5.3

Priority
32
CVSS 3.1
5.3
EPSS
0.3%
probability of exploitation in 30 days · percentile 19
Auth required
Yes
Published
Dec 10, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-908
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

What happens

In affected versions of TensorFlow under certain cases a saved model can trigger use of uninitialized values during code execution. This is caused by having tensor buffers be filled with the default value of the type but forgetting to default initialize the quantized floating point types in Eigen. This is fixed in versions 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2, and 2.4.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Tensorflow.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI tensorflow < 1.15.5 1.15.5 pip install "tensorflow>=1.15.5"
PyPI tensorflow ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow>=2.0.4"
PyPI tensorflow ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow>=2.1.3"
PyPI tensorflow ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow>=2.2.2"
PyPI tensorflow ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow>=2.3.2"
PyPI tensorflow < 1.15.5 1.15.5 pip install "tensorflow>=1.15.5"
PyPI tensorflow ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow>=2.0.4"
PyPI tensorflow ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow>=2.1.3"
PyPI tensorflow ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow>=2.2.2"
PyPI tensorflow-cpu < 1.15.5 1.15.5 pip install "tensorflow-cpu>=1.15.5"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-cpu>=2.0.4"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-cpu>=2.1.3"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-cpu>=2.2.2"
PyPI tensorflow-cpu ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow-cpu>=2.3.2"
PyPI tensorflow-cpu < 1.15.5 1.15.5 pip install "tensorflow-cpu>=1.15.5"
PyPI tensorflow-cpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-cpu>=2.0.4"
PyPI tensorflow-cpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-cpu>=2.1.3"
PyPI tensorflow-cpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-cpu>=2.2.2"
PyPI tensorflow-gpu < 1.15.5 1.15.5 pip install "tensorflow-gpu>=1.15.5"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-gpu>=2.0.4"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-gpu>=2.1.3"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-gpu>=2.2.2"
PyPI tensorflow-gpu ≥ 2.3.0 < 2.3.2 2.3.2 pip install "tensorflow-gpu>=2.3.2"
PyPI tensorflow-gpu < 1.15.5 1.15.5 pip install "tensorflow-gpu>=1.15.5"
PyPI tensorflow-gpu ≥ 2.0.0 < 2.0.4 2.0.4 pip install "tensorflow-gpu>=2.0.4"
PyPI tensorflow-gpu ≥ 2.1.0 < 2.1.3 2.1.3 pip install "tensorflow-gpu>=2.1.3"
PyPI tensorflow-gpu ≥ 2.2.0 < 2.2.2 2.2.2 pip install "tensorflow-gpu>=2.2.2"

Per OSV / GitHub Advisories (GHSA-qhxx-j73r-qpm2, PYSEC-2020-254, PYSEC-2020-297, PYSEC-2020-332). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googletensorflow< 1.15.5
googletensorflow≥ 2.0.0 < 2.0.4
googletensorflow≥ 2.1.0 < 2.1.3
googletensorflow≥ 2.2.0 < 2.2.2
googletensorflow≥ 2.3.0 < 2.3.2

Official sources

References

Links published by the sources. Open them with care.