# CVE-2020-26270: CHECK-fail in LSTM with zero-length input in TensorFlow

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2020-12-10T19:07:31.000Z
- Modified: 2026-09-10T16:01:47.603Z
- Also known as: GHSA-m648-33qf-v3gp, BIT-TENSORFLOW-2020-26270, PYSEC-2020-256, PYSEC-2020-301, PYSEC-2020-336
- Weaknesses: CWE-20
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- tensorflow 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
- tensorflow (PyPI): before 1.15.5; from 2.0.0 before 2.0.4; from 2.1.0 before 2.1.3; from 2.2.0 before 2.2.2; from 2.3.0 before 2.3.2; before 14755416e364f17fb1870882fa778c7fec7f16e3
- tensorflow-cpu (PyPI): before 1.15.5; from 2.0.0 before 2.0.4; from 2.1.0 before 2.1.3; from 2.2.0 before 2.2.2; from 2.3.0 before 2.3.2; before 14755416e364f17fb1870882fa778c7fec7f16e3
- tensorflow-gpu (PyPI): before 1.15.5; from 2.0.0 before 2.0.4; from 2.1.0 before 2.1.3; from 2.2.0 before 2.2.2; from 2.3.0 before 2.3.2; before 14755416e364f17fb1870882fa778c7fec7f16e3
- google tensorflow: before 1.15.5; from 2.0.0 before 2.0.4; from 2.1.0 before 2.1.3; from 2.2.0 before 2.2.2; from 2.3.0 before 2.3.2
- tensorflow (Bitnami): before 1.15.5; from 2.0.0 before 2.0.4; from 2.1.0 before 2.1.3; from 2.2.0 before 2.2.2; from 2.3.0 before 2.3.2

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp> (advisory, patch, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26270> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-301.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-336.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-256.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (package)

## Sources

- CVE List: [CVE-2020-26270](https://www.cve.org/CVERecord?id=CVE-2020-26270), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-m648-33qf-v3gp](https://github.com/advisories/GHSA-m648-33qf-v3gp), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-26270](https://nvd.nist.gov/vuln/detail/CVE-2020-26270), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-256](https://osv.dev/vulnerability/PYSEC-2020-256), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-301](https://osv.dev/vulnerability/PYSEC-2020-301), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-336](https://osv.dev/vulnerability/PYSEC-2020-336), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2020-26270](https://osv.dev/vulnerability/BIT-TENSORFLOW-2020-26270), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2020-26270 · Whole record: https://cve.day/CVE-2020-26270.json · Rebuilt by cve.day 2026-11-25T22:57:56.155Z
