CVE-2020-26266Google Tensorflow
Medium 5.3
Follow: this CVE · Google · Google Tensorflow We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Tensorflow.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| tensorflow | < 1.15.5 | |
| tensorflow | ≥ 2.0.0 < 2.0.4 | |
| tensorflow | ≥ 2.1.0 < 2.1.3 | |
| tensorflow | ≥ 2.2.0 < 2.2.2 | |
| tensorflow | ≥ 2.3.0 < 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory