CVE-2020-26270Google Tensorflow
Low 3.3
Follow: this CVE · Google · Google Tensorflow We alert you by email or Slack (account required).
- Priority
- 20
- CVSS 3.1
- 3.3
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 7
- Auth required
- Yes
- Published
- Dec 10, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
What happens
In affected versions of TensorFlow running an LSTM/GRU model where the LSTM/GRU layer receives an input with zero-length results in a CHECK failure when using the CUDA backend. This can result in a query-of-death vulnerability, via denial of service, if users can control the input to the layer. 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-m648-33qf-v3gp, PYSEC-2020-256, PYSEC-2020-301, PYSEC-2020-336). 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 Patch Third Party Advisory