{"id":"CVE-2020-26270","published":"2020-12-10T22:10:23Z","modified":"2024-08-04T15:56:03Z","title":"CHECK-fail in LSTM with zero-length input in TensorFlow","vendor":"tensorflow","product":"tensorflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00173,"percentile":0.06896,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3","tags":["x_refsource_MISC"]}],"priority":{"score":4.5,"factors":[{"name":"EPSS percentile","points":1.38},{"name":"CVSS severity","points":3.08}]},"vendorSlug":"tensorflow","affectedVersions":[{"vendor":"tensorflow","product":"tensorflow","versions":["< 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"]}],"affected":[{"ecosystem":"PyPI","package":"tensorflow","vulnerableRanges":["<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"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-m648-33qf-v3gp","PYSEC-2020-256"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-cpu","vulnerableRanges":["<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"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-m648-33qf-v3gp","PYSEC-2020-301"],"provenance":"source"},{"ecosystem":"PyPI","package":"tensorflow-gpu","vulnerableRanges":["<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"],"patched":["1.15.5","2.0.4","2.1.3","2.2.2","2.3.2"],"from":["GHSA-m648-33qf-v3gp","PYSEC-2020-336"],"provenance":"source"}],"summary":{"text":"The flaw is an improper input validation issue in TensorFlow's LSTM/GRU layers, which triggers a CHECK failure when the layer receives zero-length input while using the CUDA backend.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:37Z"},"euvd":{"id":"EUVD-2020-0217","exploited":false,"provenance":"source"}}