CVE-2020-15198Heap buffer overflow in Tensorflow
- 5.4MediumCVSS base score
- 0.54%Exploitation in 30 daysEPSS · top 54% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 the same shape as the `values` one. The values in these tensors are always accessed in parallel. Thus, a shape mismatch can result in accesses outside the bounds of heap allocated buffers. The issue is patched in commit 3cbb917b4714766030b28eba9fb41bb97ce9ee02 and is released in TensorFlow version 2.3.1.
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVDNVD · Modified | 3.1 | Medium5.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.54% · top 54% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.4.
Affected products
- affected >= 2.3.0, < 2.3.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPItensorflowGHSA-jc87-6vpp-7ff3 (opens in a new tab)
- PyPItensorflow-cpuGHSA-jc87-6vpp-7ff3 (opens in a new tab)
- PyPItensorflow-gpuGHSA-jc87-6vpp-7ff3 (opens in a new tab)
References
References3
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/tensorflow/tensorflow/commit/3cbb917b4714766030b28eba9fb41bb97ce9ee02 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-jc87-6vpp-7ff3 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2020-0194 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-jc87-6vpp-7ff3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-15198)Record last updated .