# CVE-2020-15197: Denial of Service in Tensorflow

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:N/A:H`
- 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.73%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-25T18:28:30.000Z
- Modified: 2026-09-08T08:48:19.814Z
- Also known as: GHSA-qc53-44cj-vfvx, BIT-TENSORFLOW-2020-15197, PYSEC-2020-120, PYSEC-2020-277, PYSEC-2020-312
- Weaknesses: CWE-20, CWE-617
- Assigned by: GitHub_M

## Description

In Tensorflow before version 2.3.1, the `SparseCountSparseOutput` implementation does not validate that the input arguments form a valid sparse tensor. In particular, there is no validation that the `indices` tensor has rank 2. This tensor must be a matrix because code assumes its elements are accessed as elements of a matrix. However, malicious users can pass in tensors of different rank, resulting in a `CHECK` assertion failure and a crash. This can be used to cause denial of service in serving installations, if users are allowed to control the components of the input sparse tensor. The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and is released in TensorFlow version 2.3.1.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: = 2.3.0
- tensorflow (PyPI): from 2.3.0 before 2.3.1; before 3cbb917b4714766030b28eba9fb41bb97ce9ee02; before 2.3.1
- tensorflow-cpu (PyPI): from 2.3.0 before 2.3.1; before 3cbb917b4714766030b28eba9fb41bb97ce9ee02; before 2.3.1
- tensorflow-gpu (PyPI): from 2.3.0 before 2.3.1; before 3cbb917b4714766030b28eba9fb41bb97ce9ee02; before 2.3.1
- google tensorflow: 2.3.0
- tensorflow (Bitnami): from 2.3.0 before 2.3.1

## Every score

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

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-qc53-44cj-vfvx> (exploit, advisory, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1> (advisory, third-party-advisory, web)
- <https://github.com/tensorflow/tensorflow/commit/3cbb917b4714766030b28eba9fb41bb97ce9ee02> (advisory, fix, patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15197> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-277.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-312.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-120.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (package)

## Sources

- CVE List: [CVE-2020-15197](https://www.cve.org/CVERecord?id=CVE-2020-15197), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qc53-44cj-vfvx](https://github.com/advisories/GHSA-qc53-44cj-vfvx), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-15197](https://nvd.nist.gov/vuln/detail/CVE-2020-15197), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-120](https://osv.dev/vulnerability/PYSEC-2020-120), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-277](https://osv.dev/vulnerability/PYSEC-2020-277), CC-BY-4.0, modified 2023-12-06
- PyPA Advisory Database: [PYSEC-2020-312](https://osv.dev/vulnerability/PYSEC-2020-312), CC-BY-4.0, modified 2023-12-06
- Bitnami Vulnerability Database: [BIT-TENSORFLOW-2020-15197](https://osv.dev/vulnerability/BIT-TENSORFLOW-2020-15197), Apache-2.0, modified 2026-09-08

---

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