# CVE-2020-15205: Data leak in Tensorflow

- Severity: Critical 9.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/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): 1.03%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-25T18:28:38.000Z
- Modified: 2026-09-08T08:48:19.905Z
- Also known as: GHSA-g7p5-5759-qv46, BIT-TENSORFLOW-2020-15205, PYSEC-2020-128, PYSEC-2020-285, PYSEC-2020-320
- Weaknesses: CWE-119, CWE-122, CWE-787
- 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.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: < 1.15.4; >= 2.0.0, < 2.0.3; >= 2.1.0, < 2.1.2; >= 2.2.0, < 2.2.1; >= 2.3.0, < 2.3.1
- tensorflow (PyPI): before 1.15.4; from 2.0.0 before 2.0.3; from 2.1.0 before 2.1.2; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 0462de5b544ed4731aa2fb23946ac22c01856b80
- tensorflow-cpu (PyPI): before 1.15.4; from 2.0.0 before 2.0.3; from 2.1.0 before 2.1.2; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 0462de5b544ed4731aa2fb23946ac22c01856b80
- tensorflow-gpu (PyPI): before 1.15.4; from 2.0.0 before 2.0.3; from 2.1.0 before 2.1.2; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 0462de5b544ed4731aa2fb23946ac22c01856b80
- google tensorflow: before 1.15.4; from 2.0.0 before 2.0.3; from 2.1.0 before 2.1.2; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1
- opensuse leap: 15.2
- tensorflow (Bitnami): before 1.15.4; from 2.0.0 before 2.0.3; from 2.1.0 before 2.1.2; from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1

## Every score

- GitHub_M: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.0 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-g7p5-5759-qv46> (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/0462de5b544ed4731aa2fb23946ac22c01856b80> (advisory, fix, patch, third-party-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.html> (advisory, mailing-list, third-party-advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15205> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-285.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-320.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-128.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (package)

## Sources

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

---

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