CVE-2020-15205
Data leak in Tensorflow
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
Description
In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `data_splits` argument of `tf.raw_ops.StringNGrams` lacks validation. This allows a user to pass values that can cause heap overflow errors and even leak contents of memory In the linked code snippet, all the binary strings after `ee ff` are contents from the memory stack. Since these can contain return addresses, this data leak can be used to defeat ASLR. The issue is patched in commit 0462de5b544ed4731aa2fb23946ac22c01856b80, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 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 | Critical9.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.0.
Weakness
- CWE-122: {"CWE-122":"Heap-based Buffer Overflow"} (opens in a new tab)All about CWE-122 and its CVEs
- CWE-119: {"CWE-119":"Improper Restriction of Operations within the Bounds of a Memory Buffer"} (opens in a new tab)All about CWE-119 and its CVEs
- CWE-787 (opens in a new tab)All about CWE-787 and its CVEs
Affected products
- affected < 1.15.4
- affected >= 2.0.0, < 2.0.3
- affected >= 2.1.0, < 2.1.2
- affected >= 2.2.0, < 2.2.1
- affected >= 2.3.0, < 2.3.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPItensorflowGHSA-g7p5-5759-qv46 (opens in a new tab)
- PyPItensorflow-cpuGHSA-g7p5-5759-qv46 (opens in a new tab)
- PyPItensorflow-gpuGHSA-g7p5-5759-qv46 (opens in a new tab)
References (4)
- https://github.com/tensorflow/tensorflow/releases/tag/v2.3.1 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g7p5-5759-qv46 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/tensorflow/tensorflow/commit/0462de5b544ed4731aa2fb23946ac22c01856b80 (opens in a new tab)x_refsource_MISCx_transferred
- openSUSE-SU-2020:1766 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_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)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g7p5-5759-qv46 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2020-15205)Record last updated .