CVE-2020-26270 json
CHECK-fail in LSTM with zero-length input in TensorFlow
published 2020-12-10 5 y ago modified 2026-09-10 1 mo ago also BIT-tensorflow-2020-26270 , EUVD-2020-0217 , GHSA-m648-33qf-v3gp , PYSEC-2020-256 , PYSEC-2020-301 , PYSEC-2020-336
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi tensorflow 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
- pypi tensorflow-cpu 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
- pypi tensorflow-gpu 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
- bitnami tensorflow 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
- google tensorflow 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2
- tensorflow2 Package Hub 15 SP3, openSUSE Leap 15.3 2.6.0-bp153.2.3.1
- bazel3.7 Package Hub 15 SP3, openSUSE Leap 15.3 3.7.2-bp153.4.1
- tensorflow2-lite Package Hub 15 SP3, openSUSE Leap 15.3 2.6.0-bp153.2.3.1
- bazel-skylib1.0.3 Package Hub 15 SP3, openSUSE Leap 15.3 1.0.3-bp153.2.1
- tensorflow2_2_6_0-gnu-hpc Package Hub 15 SP3, openSUSE Leap 15.3 2.6.0-bp153.2.3.1
- tensorflow2_2_6_0-gnu-openmpi2-hpc Package Hub 15 SP3, openSUSE Leap 15.3 2.6.0-bp153.2.3.1
opensuse advisories openSUSE-SU-2022:10014-1
- tensorflow Arch Linux 2.4.0-1
arch linux advisories AVG-1348
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 2.1 | AV:L/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | tensorflow | <1.15.5 >=2.0.0, <2.0.4 >=2.1.0, <2.1.3 >=2.2.0, <2.2.2 >=2.3.0, <2.3.2 |
1.15.5 2.0.4 2.1.3 2.2.2 2.3.2 |
| pypi | tensorflow-cpu | <1.15.5 >=2.0.0, <2.0.4 >=2.1.0, <2.1.3 >=2.2.0, <2.2.2 >=2.3.0, <2.3.2 |
1.15.5 2.0.4 2.1.3 2.2.2 2.3.2 |
| pypi | tensorflow-gpu | <1.15.5 >=2.0.0, <2.0.4 >=2.1.0, <2.1.3 >=2.2.0, <2.2.2 >=2.3.0, <2.3.2 |
1.15.5 2.0.4 2.1.3 2.2.2 2.3.2 |
| bitnami | tensorflow | <1.15.5 >=2.0.0, <2.0.4 >=2.1.0, <2.1.3 >=2.2.0, <2.2.2 >=2.3.0, <2.3.2 |
1.15.5 2.0.4 2.1.3 2.2.2 2.3.2 |
Affected products
- tensorflow tensorflow
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3
web, patch, third-party-advisory, advisory
-
github.com
/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp
web, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-26270
advisory, web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-301.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-336.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-256.yaml
web
-
github.com
/tensorflow/tensorflow
package
Sources
- CVE List CVE-2020-26270
- GitHub Advisory GHSA-m648-33qf-v3gp
- NVD CVE-2020-26270
- OSV BIT-tensorflow-2020-26270
- OSV PYSEC-2020-256
- OSV PYSEC-2020-301
- OSV PYSEC-2020-336
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.