# CVE-2020-15193: Memory corruption in Tensorflow

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L`
- 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.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-25T18:28:27.000Z
- Modified: 2026-09-08T08:48:10.816Z
- Also known as: GHSA-rjjg-hgv6-h69v, BIT-TENSORFLOW-2020-15193, PYSEC-2020-116, PYSEC-2020-273, PYSEC-2020-308
- Weaknesses: CWE-908
- Assigned by: GitHub_M

## Description

In Tensorflow before versions 2.2.1 and 2.3.1, the implementation of `dlpack.to_dlpack` can be made to use uninitialized memory resulting in further memory corruption. This is because the pybind11 glue code assumes that the argument is a tensor. However, there is nothing stopping users from passing in a Python object instead of a tensor. The uninitialized memory address is due to a `reinterpret_cast` Since the `PyObject` is a Python object, not a TensorFlow Tensor, the cast to `EagerTensor` fails. The issue is patched in commit 22e07fb204386768e5bcbea563641ea11f96ceb8 and is released in TensorFlow versions 2.2.1, or 2.3.1.

(As written by CVE List.)

## Affected

- tensorflow tensorflow: = 2.2.0; = 2.3.0
- tensorflow (PyPI): from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 22e07fb204386768e5bcbea563641ea11f96ceb8; before 2.2.1; from 2.3.0rc0 before 2.3.1
- tensorflow-cpu (PyPI): from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 22e07fb204386768e5bcbea563641ea11f96ceb8; before 2.2.1; from 2.3.0rc0 before 2.3.1
- tensorflow-gpu (PyPI): from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1; before 22e07fb204386768e5bcbea563641ea11f96ceb8; before 2.2.1; from 2.3.0rc0 before 2.3.1
- google tensorflow: 2.2.0; 2.3.0
- opensuse leap: 15.2
- tensorflow (Bitnami): from 2.2.0 before 2.2.1; from 2.3.0 before 2.3.1

## Every score

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

## References

- <https://github.com/tensorflow/tensorflow/security/advisories/GHSA-rjjg-hgv6-h69v> (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/22e07fb204386768e5bcbea563641ea11f96ceb8> (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-15193> (advisory, web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-273.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-308.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-116.yaml> (web)
- <https://github.com/tensorflow/tensorflow> (package)

## Sources

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

---

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