{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-26270","id":"CVE-2020-26270","title":"CHECK-fail in LSTM with zero-length input in TensorFlow","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.","descriptionLong":"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.","published":"2020-12-10T22:10:23.000Z","updated":"2026-10-20T14:10:26.375668687Z","reserved":"2020-10-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"medium","source":"GitHub"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"NVD"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"},{"version":"3.1","score":4.4,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","rating":"medium","source":"GitHub"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","rating":"low","source":"NVD"}],"rating":"medium","products":["tensorflow"],"affectedProducts":[{"vendor":"tensorflow","product":"tensorflow","defaultStatus":null,"versions":[{"status":"affected","version":"< 1.15.5"},{"status":"affected","version":">= 2.0.0, < 2.0.4"},{"status":"affected","version":">= 2.1.0, < 2.1.3"},{"status":"affected","version":">= 2.2.0, < 2.2.2"},{"status":"affected","version":">= 2.3.0, < 2.3.2"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"tensorflow","purl":"pkg:pypi/tensorflow","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"advisory":"GHSA-m648-33qf-v3gp"},{"ecosystem":"PyPI","name":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"advisory":"GHSA-m648-33qf-v3gp"},{"ecosystem":"PyPI","name":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","ranges":["<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"],"fixed":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"advisory":"GHSA-m648-33qf-v3gp"}],"cwes":["CWE-20"],"aliases":["BIT-tensorflow-2020-26270","GHSA-m648-33qf-v3gp","PYSEC-2020-256","PYSEC-2020-301","PYSEC-2020-336"],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26270","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-301.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-336.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-256.yaml","tags":["web"]},{"url":"https://github.com/tensorflow/tensorflow","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00173,"epssPercentile":0.06797,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-26270","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26270","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-26270","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m648-33qf-v3gp","ok":true,"note":"GHSA-m648-33qf-v3gp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-26270","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}