{"id":"CVE-2020-26270","aliases":["CVE-2020-26270","GHSA-m648-33qf-v3gp","BIT-TENSORFLOW-2020-26270","PYSEC-2020-256","PYSEC-2020-301","PYSEC-2020-336"],"related":[],"kind":"vulnerability","state":"published","title":"CHECK-fail in LSTM with zero-length input in TensorFlow","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nRunning 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.\n\nThis can result in a query-of-death vulnerability, via denial of service, if users can control the input to the layer.\n\n### Patches\nWe have patched the issue in GitHub commit [14755416e364f17fb1870882fa778c7fec7f16e3](https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3) and will release TensorFlow 2.4.0 containing the patch. TensorFlow nightly packages after this commit will also have the issue resolved.\n\nSince this issue also impacts TF versions before 2.4, we will patch all releases between 1.15 and 2.3 inclusive.\n\n### For more information\nPlease consult [our security guide](https://github.com/tensorflow/tensorflow/blob/master/SECURITY.md) for more information regarding the security model and how to contact us with issues and questions.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En las versiones afectadas de TensorFlow que ejecutan un modelo LSTM/GRU donde la capa LSTM/GRU recibe una entrada con longitud cero, se produce un fallo de COMPROBACIÓN cuando se usa el backend CUDA.&#xa0;Esto puede resultar en una vulnerabilidad query-of-death, por medio de la denegación de servicio, si los usuarios pueden controlar la entrada a la capa.&#xa0;Esto es corregido en las versiones 1.15.5, 2.0.4, 2.1.3, 2.2.2, 2.3.2 y 2.4.0.","source":"nvd"}],"published":"2020-12-10T19:07:31.000Z","modified":"2026-09-10T16:01:47.603Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L","score":3.3,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","score":2.1,"rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"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","status":"affected"}],"vendor":"tensorflow","product":"tensorflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.15.5"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.4"},{"status":"affected","introduced":"2.1.0","fixed":"2.1.3"},{"status":"affected","introduced":"2.2.0","fixed":"2.2.2"},{"status":"affected","introduced":"2.3.0","fixed":"2.3.2"}],"vendor":"google","product":"tensorflow","cpe":"cpe:2.3:a:google:tensorflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"14755416e364f17fb1870882fa778c7fec7f16e3"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"},{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"},{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"},{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow","purl":"pkg:pypi/tensorflow","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"14755416e364f17fb1870882fa778c7fec7f16e3"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"},{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"},{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"},{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow-cpu","purl":"pkg:pypi/tensorflow-cpu","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"14755416e364f17fb1870882fa778c7fec7f16e3"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.15.5"},{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.4"},{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.3"},{"type":"ecosystem","introduced":"2.2.0","status":"affected","fixed":"2.2.2"},{"type":"ecosystem","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"PyPI","package":"tensorflow-gpu","purl":"pkg:pypi/tensorflow-gpu","repo":"https://github.com/tensorflow/tensorflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.5"},{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.0.4"},{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.1.3"},{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.2"},{"type":"semver","introduced":"2.3.0","status":"affected","fixed":"2.3.2"}],"ecosystem":"Bitnami","package":"tensorflow","purl":"pkg:bitnami/tensorflow","source":"bitnami"}],"references":[{"url":"https://github.com/tensorflow/tensorflow/security/advisories/GHSA-m648-33qf-v3gp","tags":["advisory","patch","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://github.com/tensorflow/tensorflow/commit/14755416e364f17fb1870882fa778c7fec7f16e3","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26270","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-301.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-336.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-256.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/tensorflow/tensorflow","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-26270","url":"https://www.cve.org/CVERecord?id=CVE-2020-26270","licence":"CVE Terms of Use","modified":"2024-08-04T15:56:03.807Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m648-33qf-v3gp","url":"https://github.com/advisories/GHSA-m648-33qf-v3gp","licence":"CC-BY-4.0","modified":"2026-07-08T06:00:14.083Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-26270","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26270","licence":"Public domain","modified":"2026-06-17T03:07:58.020Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-256","url":"https://osv.dev/vulnerability/PYSEC-2020-256","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:27.868Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-301","url":"https://osv.dev/vulnerability/PYSEC-2020-301","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:27.868Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-336","url":"https://osv.dev/vulnerability/PYSEC-2020-336","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:27.868Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-TENSORFLOW-2020-26270","url":"https://osv.dev/vulnerability/BIT-TENSORFLOW-2020-26270","licence":"Apache-2.0","modified":"2026-09-10T16:01:47.603Z"}],"updatedAt":"2026-11-25T22:57:56.155Z","epss":{"score":0.00173,"percentile":0.07012,"date":"2026-12-01T12:00:22.000Z"}}