CVE-2020-15207: Segfault and data corruption in tensorflow-lite
Vulnerability summary
CVE-2020-15207 is a critical (CVSS 9.0) vulnerability in google tensorflow. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 70.2% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 25-09-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, to mimic Python's indexing with negative values, TFLite uses `ResolveAxis` to convert negative values to positive indices. However, the only check that the converted index is now valid is only present in debug builds. If the `DCHECK` does not trigger, then code execution moves ahead with a negative index. This, in turn, results in accessing data out of bounds which results in segfaults and/or data corruption. The issue is patched in commit 2d88f470dea2671b430884260f3626b1fe99830a, and is released in TensorFlow versions 1.15.4, 2.0.3, 2.1.2, 2.2.1, or 2.3.1.
CVSS metrics
5 scores · 3 sources · 3 versions- CVE.orgCNA8.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated8.7HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:HDiffers
EPSS trend
Probability
1.24%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundTensorflow
Maturity: poc
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI3 products
- tensorflow< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 2d88f470dea2671b430884260f3626b1fe99830a | ≥ 2.3.0, < 2.3.1
- tensorflow-cpu< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 2d88f470dea2671b430884260f3626b1fe99830a | ≥ 2.3.0, < 2.3.1
- tensorflow-gpu< 1.15.4 | ≥ 2.0.0, < 2.0.3 | ≥ 2.1.0, < 2.1.2 | ≥ 2.2.0, < 2.2.1 | < 2d88f470dea2671b430884260f3626b1fe99830a | ≥ 2.3.0, < 2.3.1
Google1 product
- 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
Opensuse1 product
- leapEOL15.2
Tensorflow1 product
- 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
4 vendors · 6 products
References
9 links- github.com/tensorflow/tensorflow/security/advisories/GHSA-q4qf-3fc6-8x34X Refsource CONFIRMWEBAdvisoryExploitThird Party Advisory
- github.com/tensorflow/tensorflow/commit/2d88f470dea2671b430884260f3626b1fe99830aX Refsource MISCWEBFIXPatchThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-10/msg00065.htmlVendor AdvisoryX Refsource SUSEWEBMailing ListThird Party Advisory