CVE-2020-15196Heap buffer overflow in Tensorflow
- 8.5HighCVSS base score
- 0.91%Exploitation in 30 daysEPSS · top 39% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In Tensorflow version 2.3.0, the `SparseCountSparseOutput` and `RaggedCountSparseOutput` implementations don't validate that the `weights` tensor has the same shape as the data. The check exists for `DenseCountSparseOutput`, where both tensors are fully specified. In the sparse and ragged count weights are still accessed in parallel with the data. But, since there is no validation, a user passing fewer weights than the values for the tensors can generate a read from outside the bounds of the heap buffer allocated for the weights. 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 | High8.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.91% · top 39% of all CVEs (15 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.5.
Affected products
- affected = 2.3.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPItensorflowGHSA-pg59-2f92-5cph (opens in a new tab)
- PyPItensorflow-cpuGHSA-pg59-2f92-5cph (opens in a new tab)
- PyPItensorflow-gpuGHSA-pg59-2f92-5cph (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-pg59-2f92-5cph (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-0192 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pg59-2f92-5cph (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-15196)Record last updated .