patchminder
No public exploit found CVE-2020-15202

Vulnerabilityin TensorFlow.

Published 25 Sep 2020 · Updated 4 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
Critical 9.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `Shard` API in TensorFlow expects the last argument to be a function taking two `int64` (i.e., `long long`) arguments. However, there are several places in TensorFlow where a lambda taking `int` or `int32` arguments is being used. In these cases, if the amount of work to be parallelized is large enough, integer truncation occurs. Depending on how the two arguments of the lambda are used, this can result in segfaults, read/write outside of heap allocated arrays, stack overflows, or data corruption. The issue is patched in commits 27b417360cbd671ef55915e4bb6bb06af8b8a832 and ca8c013b5e97b1373b3bb1c97ea655e69f31a575, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.

What to do now
  • Upgrade tensorflow to 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 or later, whichever matches your release line.
  • Upgrade tensorflow (PyPI) to 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 or later, whichever matches your release line.
  • Upgrade tensorflow-cpu (PyPI) to 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 or later, whichever matches your release line.
  • Upgrade tensorflow-gpu (PyPI) to 1.15.4, 2.0.3, 2.1.2, 2.2.1, 2.3.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
tensorflow
before 1.15.4
1.15.4
CVE record
tensorflow
2.0.0 to before 2.0.3
2.0.3
CVE record
tensorflow
2.1.0 to before 2.1.2
2.1.2
CVE record
tensorflow
2.2.0 to before 2.2.1
2.2.1
CVE record
tensorflow
2.3.0 to before 2.3.1
2.3.1
CVE record
tensorflow (PyPI)
before 1.15.4
1.15.4
GitHub advisory
tensorflow (PyPI)
2.0.0 to before 2.0.3
2.0.3
GitHub advisory
tensorflow (PyPI)
2.1.0 to before 2.1.2
2.1.2
GitHub advisory
tensorflow (PyPI)
2.2.0 to before 2.2.1
2.2.1
GitHub advisory
tensorflow (PyPI)
2.3.0 to before 2.3.1
2.3.1
GitHub advisory
tensorflow-cpu (PyPI)
before 1.15.4
1.15.4
GitHub advisory
tensorflow-cpu (PyPI)
2.0.0 to before 2.0.3
2.0.3
GitHub advisory
tensorflow-cpu (PyPI)
2.1.0 to before 2.1.2
2.1.2
GitHub advisory
tensorflow-cpu (PyPI)
2.2.0 to before 2.2.1
2.2.1
GitHub advisory
tensorflow-cpu (PyPI)
2.3.0 to before 2.3.1
2.3.1
GitHub advisory
tensorflow-gpu (PyPI)
before 1.15.4
1.15.4
GitHub advisory
tensorflow-gpu (PyPI)
2.0.0 to before 2.0.3
2.0.3
GitHub advisory
tensorflow-gpu (PyPI)
2.1.0 to before 2.1.2
2.1.2
GitHub advisory
tensorflow-gpu (PyPI)
2.2.0 to before 2.2.1
2.2.1
GitHub advisory
tensorflow-gpu (PyPI)
2.3.0 to before 2.3.1
2.3.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 25 Jun 2020
    CVE ID reserved by GitHub_M.
  2. 25 Sep 2020
    Published in the CVE List.
  3. 4 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other TensorFlow vulnerabilities

Same weakness:

All CWE-197 vulnerabilities

References
Cite this page

Patchminder. CVE-2020-15202: Vulnerability in TensorFlow. https://patchminder.com/cve/cve-2020-15202/ (accessed 5 December 2026).